A

Admin • 802.91K Points
Coach

Q. Which method pauses a thread for a specific time?

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

Explanation by: Admin
sleep() is used to pause a thread for a specific duration.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.