A

Admin • 825.56K Points
Coach

Q. Which method of the `Thread` class causes the currently executing thread to sleep?

  • (A) wait()
  • (B) pause()
  • (C) sleep()
  • (D) stop()

Explanation by: Admin
`sleep()` pauses the execution of the current thread for a specified time.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.