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 jit and its use?
What are the two types of java programming?
what is deadlock? : Java thread
Is array a class in java?
When parseint method can be used?
What is oops in java?
What are the methods available in a class?
How do you represent a space in regex java?
How do I type unicode?
Can we create an object of private class?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What are keywords in programming?
Name component subclasses that support painting in java programming?
Which is better ascii or unicode?
Does list maintain insertion order java?