Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these method is used to implement Runnable interface?
  2. A.
    stop()
    B.
    run()
    C.
    runThread()
    D.
    stopThread()

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    To implement Runnable interface, a class needs only to implement a single method called run().


Be The First To Comment