Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these class is used to make a thread?
  2. A.
    String
    B.
    System
    C.
    Thread
    D.
    Runnable

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    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.


Be The First To Comment