This class extends Thread and isDone() method is called on it's instance. Where is the isDone method defined? I can't find it in the Thread class?
if(jt.isDone()) System.out.println(jt.getData());
Is it suppose to be isAlive()?
Thanks.
About Question com.enthuware.ets.scjp.v6.2.144 :
Moderator: admin
-
- Site Admin
- Posts: 10400
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.144 :
This method is a user defined method in JerkyThread class. (See the code given for JerkyThread)
HTH,
Paul.
HTH,
Paul.
Who is online
Users browsing this forum: Bing [Bot] and 7 guests