📚 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.
- Only A
- Only B
- Both A and B
- Neither A nor B