Multiple choice technology platforms and products

A Java Thread can be created by ____________

  1. Implementing Thread interface.

  2. Implementing Cloneable interface.

  3. Implementing the Runnable interface.

  4. We can not create a Thread, JVM has to create it by it's own.

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

A Thread can be created either by extending the Thread class or by implementing the Runnable interface. Option A is wrong because Thread is a class, not an interface. Option D is wrong - we can and do create Threads programmatically.