Question:Which of the following are valid ways to define a thread in Java? 

A Create a subclass of java.lang.Thread class 

B Create a class that implements java.lang.Runnable 

C Define method run() in a class 

D Define method call() in a class 

+ Answer
+ Report
Total Preview: 1106

Copyright © 2024. Powered by Intellect Software Ltd