aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Abstract Classes and Implementing Interfaces
  • When we implement the Runnable interface in a class, then...
Multiple choice

When we implement the Runnable interface in a class, then we must define _____ method.

  1. init()

  2. main()

  3. start()

  4. run()

  5. none of the above

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

This method is declared in Runnable interface

Keep practicing — related questions

  • 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?
  • 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 method must be defined by a class implementing the java.lang.Runnableinterface?
  • Runnable is
  • A class can be converted to a thread by implementing the interface ___.
  • Runnable is a/an
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy