Home » JAVA Programming » Multithreading » Question
  1. Which of these class is used to make a thread?
    1. System
    2. Runnable
    3. String
    4. Thread
    5. None of these
Correct Option: D

Thread class is used to make threads in java, Thread encapsulates a thread of execution. To create a new thread the program will either extend Thread or implement the Runnable interface.



Your comments will be displayed only after manual approval.