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 does opcode mean?

1087


Which software is used for java programming?

1026


What is the purpose of file class?

1025


Is main a function?

1061


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

1243


What is a double?

1100


Where is the singleton class used?

1031


can java object be locked down for exclusive use by a given thread? : Java thread

1103


Difference between ‘is-a’ and ‘has-a’ relationship in java?

1006


What does a boolean method return?

1242


Can we override static methods in java?

1072


What is google full form?

1014


What is difference between equal and == in java?

963


What is return in java?

973


Explain the use of shift operator in java. Can you give some examples?

977