user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

Question 27. What's Thread.sleep() In Threading ?

user image

Abhishek Mishra

2 years ago

Thread's execution can be paused by calling the Thread.Sleep method. This method takes an integer value that determines how long the thread should sleep. Example Thread.CurrentThread.Sleep(2000). it will paused for 2 second.

Recent Doubts

Close [x]