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: 10065
- 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.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 263 guests