aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Fundamentals and Legacy APIs
  • Which of the following interfaces in Thread class must be...
Multiple choice

Which of the following interfaces in Thread class must be implemented by any class that will initiate a separate thread of execution?

  1. Thread

  2. StrictMath

  3. Runnable

  4. Compiler

  5. run()

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

This interface of Thread class must be implemented by any class that will initiate a separate thread of execution.

Keep practicing — related questions

  • A class can be converted to a thread by implementing the interface
  • A class can be converted to a thread by implementing the interface ___.
  • Any class that implements the Runnable interface has to provide the implementation for the following method...
  • Any class that implements the Runnable interface has to provide the implementation for the following method...
  • Which of the following methods is/are correct for making a new thread? A. Declare a class to be a subclass ...
  • class X implements Runnable { public static void main(String args[]) { /* Missing code? */ } public void ru...
  • Which method must be defined by a class implementing the java.lang.Runnable interface?
  • Which method must be defined by a class implementing the java.lang.Runnable interface?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy