wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes dead thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "dead thread" Watch "dead thread" New topic
Author

dead thread

srinivas bolloju
Ranch Hand

Joined: Jan 23, 2001
Posts: 112
when a thread is dead , its object is discarded.
true/false....
ans:false
i thought it was true,what will anything do with the dead threads object?


please use the [code][/code] tags when showing code. visit <a href="http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=ubb_code_page" target="_blank" rel="nofollow">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=ubb_code_page</a> ,for more details
Terence Doyle
Ranch Hand

Joined: May 30, 2001
Posts: 328
Hi,
When a Thread is dead you cannot restart it but you can still access its data and call its methods. - ( RHE top of pg. 216 )
Hope that helps,
Terry


Raising Flares debut album 'Ignition' out now

http://www.raisingflares.com

Terry Doyle <br />SCPJ 1.4 , SCWCD , SCMAD(Beta)
 
 
subject: dead thread
 
Similar Threads
Y do u do this 2 ur posts
why Multiple invocation on start() on same thread instance causes Exception ?
Java thread - calling start()
When are Threads garbage collected?
Is a dead thread a threat to memory leak?