aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes threads?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "threads??" Watch "threads??" New topic
Author

threads??

srikanth reddy
Ranch Hand

Joined: Jul 28, 2005
Posts: 252


here i understand what this code trying to do...but my doubt is here we have not used the start so how can the thread can be started...
and so t1.join() means that main thread wont execute until the thread t1 has finished ..so i think the ouput should be blank...but actually its giving me END..


Thanks & Regards<br /> <br />-Srikanth
Seb Mathe
Ranch Hand

Joined: Sep 28, 2005
Posts: 225
The join method checks if the thread is alive,
and "A thread is alive if it has been started and has not yet died."


Regards,<br />Seb<br /> <br />SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: threads??
 
Similar Threads
Threads: suspend/resume and join
thread question
Thread execution
join()??
Clarify Use of the join method