In java a thread can be created by ……….
A. Extending the thread class.
B. Implementing Runnable interface.
C. Both of the above
D. None of these
Answer: Option C
In java a thread can be created by ……….
A. Extending the thread class.
B. Implementing Runnable interface.
C. Both of the above
D. None of these
Answer: Option C
Sign in to your account