Sail E0 Webinar
Question
Which of these class is used to make a thread?
Options:
A .  String
B .  System
C .  Thread
D .  Runnable
Answer: Option C


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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers