📚 Practice Mode

Java Multithreading and Exception Handling

Learn at your own pace with hints and detailed explanations

1 / 28
Multiple Choice

Which of the following methods is/are correct for making a new thread?
A. Declare a class to be a subclass of Thread class.
B. Declare a class that implements the Runnable class.

  1. Only A
  2. Only B
  3. Both A and B
  4. Neither A nor B