hi
please help answering the following question
What must be true for the RunHandler class so that instances of RunHandler can be used as written
in the code below?
class
Test {
public static void main(
String[] args)
{
Thread t = new Thread(new RunHandler());
t.start();
}
}
choose 2 only (A) RunHandler must implement the java.lang.Runnable interface
(B) RunHandler must extend the thread class
(C) RunHandlermust provide a run method declared as public and returning
(D) RunHandler must provide an init() method
i say a and b correct