Home » JAVA Programming » Multithreading » Question
  1. Which of these methods of a Thread class is used to suspend a thread for a period of time?
    1. terminate()
    2. sleep()
    3. stop()
    4. suspend()
    5. None of these
Correct Option: B

sleep()



Your comments will be displayed only after manual approval.