Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Java > Core Java

Core Java Core Java Interview Questions, Learn by sharing Core Java Interview Questions asked in various companies, Get Career advices, Interview Procedures from Core Java experts, Post asked Core Java Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-20-2008, 05:45 PM
Senior Member
 
Join Date: Mar 2008
Posts: 4,634
Default How can a dead thread be started

How can a dead thread be started
Reply With Quote
  #2 (permalink)  
Old 04-23-2008, 10:06 AM
Junior Member
 
Join Date: Apr 2008
Posts: 12
Default

A dead thread cannot be started
Reply With Quote
  #3 (permalink)  
Old 05-02-2008, 07:49 PM
Junior Member
 
Join Date: Apr 2008
Posts: 10
Default



A Thread is considered to be dead when it is done with its run() method, once done, a Thread can not be brought back to life

i.e., we can not call a start() method on a given Thread object for the second time(i.e., we can not create a spearate call Stack agian)

but a Thread object is a normal object like any other object in java, we can still call methods on it. what we can not do is call start() again(i.e., we can not create a separate process again)





__________________
Cheers

Wizkid
Reply With Quote
  #4 (permalink)  
Old 06-26-2008, 06:19 AM
Junior Member
 
Join Date: Jun 2008
Posts: 6
Default

we can start the deadlock by rollback the transactoin.
Reply With Quote
Reply

Tags
core java, interview questions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On