aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Programming
  • Which one of the following is/are not used to suspend the...
Multiple choice

Which one of the following is/are not used to suspend the thread temporarily?

  1. sleep()

  2. suspend()

  3. wait()

  4. all of the above

Reveal answer Fill a bubble to check yourself
D Correct answer

Keep practicing — related questions

  • Which of the following methods is used in Java to suspend a thread for a period of time?
  • what are the methods to prevent thread execution
  • Which of the following statements is/are correct? A. The sleep() method is used to permanently stop the exe...
  • Which of the following will not directly cause a thread to stop?
  • Which of the following will not directly cause a thread to stop?
  • Which of the below methods in Java is not used with threads
  • Which of the following can be used to stop a thread?
  • Which of the following methods of the Thread class is used to wait for a thread to complete?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy