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

How does arraylist size increase in java?

1047


Does unicode support all languages?

961


What is the purpose of a transient variable?

1002


What is the use of keywords in java?

938


What is a loop java?

1007


does java support pointers?

936


What is the main purpose of java?

1020


Does java support multiple inheritances?

971


can rmi and corba based applications interact ?

1023


What is use of set in java?

931


How do you find the maximum number from an array without comparing and sorting?

1073


Can we declare the static variables and methods in an abstract class?

941


Explain the importance of import keyword in java?

944


What is the benefit of inner / nested classes ?

937


What are the major advantages of internal iteration over external iteration?

988