Hi,
This question is from boone�s mock exam.
Question 1: If you supply a target object when you create a new
Thread, as in:
Thread t = new Thread(targetObject);
What
test of instanceof does targetObject have to pass for this to be legal?
Select the one right answer.
a. targetObject instanceof Thread
b. targetObject instanceof Object
c. targetObject instanceof
Applet d. targetObject instanceof Runnable
e. targetObject instanceof
String Given answer is �d� but I think answer should include �a� also because Thread class also implrement Runnable interface or am I missing something?
Please help me.
vivek