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

How big is a 32 bit integer?

522


Can we have multiple classes in single file ?

594


What does ide stand for?

509


What is a local block?

631


Is singleton class thread safe?

530






What is a double vs float?

530


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

579


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1654


What does java final mean?

514


Do we have pointers in java?

522


Why is the main method static?

593


What is string in java is it a data type?

529


How do you square a number?

574


Justify your answer that you can't define a method inside another method in java, if you can then how?

598


Which package is used for pattern matching with regular expressions?

634