1.

What's Thread.sleep() In Threading ?

Answer»

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.

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.



Discussion

No Comment Found