+ 2
What is the "sleep method"?
3 odpowiedzi
+ 3
The sleep() method of Thread class is used to sleep a thread for the specified amount of time.
+ 1
Ok good to know
0
it is basically used to give delay for some specified time
so that the standard output can be seen at a specific time