About Question com.enthuware.ets.scjp.v6.2.144 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scjp.v6.2.144 :

Post by ETS User »

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.

admin
Site Admin
Posts: 10065
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.144 :

Post by admin »

This method is a user defined method in JerkyThread class. (See the code given for JerkyThread)

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 201 guests