explain the life cycle of thread?

Answer Posted / srinivas ponugoti

There are number of stages for executing the Thread.
1.born state
2.runnable
3.running
4.blocked(wait,sleep,suspend)
5.destroy(stop).

Is This Answer Correct ?    27 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write code of any action class?

548


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

1671


What do you mean by byte code?

521


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

602


How strings are created in java?

572






What are the super most classes for all the streams?

1177


How does thread synchronization occurs inside a monitor?

559


What is the impact of declaring a method as final?

565


What is argument in java?

540


How can you handle java exceptions?

533


What is the function of character?

530


why an outer class cannot be declared as private?

3622


What are the three types of design patterns?

523


What is the purpose of the strictfp keyword?

616


Can you override static methods?

506