Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Life Cycle of Thread

Answer Posted / guru

When an object is created using Thread class,it is in the
new state, when the start method is called the object goes
into the runnable state from where the scheduler picks up
and starts executing. If that process requires any resource
it is picked and put to the blocked state and when the
process finished that thread is in dead state.
states:
1 new
2 runnable
3 running
4 blocked
5 dead

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string intern in java?

1087


How to disable caching on back button of the browser?

1137


Is it possible to instantiate the abstract class?

1002


What is hash code collision?

1104


What are register variables what are the advantages?

938


Why java doesn’t support multiple inheritances?

1105


I want to print “hello” even before main is executed. How will you acheive that?

1147


What is the purpose of extern variable?

1057


what is instanceof operator used in java?

1080


What is instance synchronization?

1103


What is the maximum size of arraylist in java?

1061


What is a java lambda expression?

1099


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

1135


What does void * mean?

1107


What is the return type of the main method?

1085