Multiple choice technology programming languages

There is only one way to create threads i.e. Implement the Runnable interface

  1. True

  2. False

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

Java provides TWO ways to create threads: implementing the Runnable interface OR extending the Thread class. The statement claims there is only one way, which is false. Both approaches are valid and commonly used in Java threading.