The sleep() method is a method of the Thread class. It suspends the execution of the thread from which it is called.
The execution is suspended for a specified amount of time. This duration is given in milliseconds. The general syntax of this method is as follows:
Here, the milliseconds parameter specifies the time.
Download practice question and study guide for scmad for exam. Click here to get free CX310-110 SCMAD Mobile Application Developer exam practice questions.