aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • web technology Online Quiz - 47
  • The different ways of using Thread?
Multiple choice technology web technology

The different ways of using Thread?

  1. By implementing Runnable Interface.

  2. By inheriting from the Runnable Interface.

  3. By implementing the Thread Class.

  4. By inheriting from the Thread class.

Reveal answer Fill a bubble to check yourself
A,C Correct answer

Keep practicing — related questions

  • Which the preferred way to write multithread programe ?
  • Which the preferred way to write multithread programe ?
  • Which one of the following is the correct structure to create and run a thread?
  • A class can be converted to a thread by implementing the interface
  • What do we use to have multiple threads of execution running concurrently?
  • class X implements Runnable { public static void main(String args[]) { /* Missing code? */ } public void ru...
  • Which of the following methods is/are correct for making a new thread? A. Declare a class to be a subclass ...
  • Which two can be used to create a new Thread? 1. Extend java.lang.Thread and override the run() method. 2. ...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy