Multiple choice technology programming languages

Which of the below methods in Java is not used with threads

  1. wait()

  2. run()

  3. Sleep()

  4. begin()

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Java's Thread and Object classes support wait(), run(), and sleep() (note: lowercase sleep is standard, but begin is completely non-existent in Java thread APIs), making begin() the correct answer.