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
What is string intern in java?
How to disable caching on back button of the browser?
Is it possible to instantiate the abstract class?
What is hash code collision?
What are register variables what are the advantages?
Why java doesn’t support multiple inheritances?
I want to print “hello” even before main is executed. How will you acheive that?
What is the purpose of extern variable?
what is instanceof operator used in java?
What is instance synchronization?
What is the maximum size of arraylist in java?
What is a java lambda expression?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
What does void * mean?
What is the return type of the main method?