What is thread.sleep() in threading?
Thread execution can be paused by calling the Thread.Sleep method. This method takes on integer value that determines how long the thread should sleepExample: Thread.currenttime.sleep(2000) // 2 Seconds
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Thread execution can be paused by calling the Thread.Sleep method. This method takes on integer value that determines how long the thread should sleep
need an explanation for this answer? contact us directly to get an explanation for this answerExample: Thread.currenttime.sleep(2000) // 2 Seconds