Hi, Consider the following line of code : Thread t = new Thread( anObjectOfMyClass ); Which of the following could be a valid declaration of MyClass? 1>MyClass extends Thread 2>MyClass implements Thread 3>MyClass implements Threadable 4>None of these.
the answer is option 4..My doubt is why can't it be option 1(as Thread class implements Runnable)?
But......Michael Thread constructor don't take thread instance as argument. As for as I know thread is having only following constructor possible: So Option  should be valid...........Correct me iff i am wrong.....
<i>--Agrah Upadhyay--</i><br />Final Year B.Tech SCJP,SCWCD,SCBCD <br /> <br /><b>Now since the real test for any choice is having to make the same choice again,knowing full well what it might cost.</b>-Oracle