explain the life cycle of thread?
Answer Posted / srinivas
There are number of stages for executing the Thread.
1.born state
2.runnable
3.running(wait,sleep)
4.blocked(wait,sleep)
5.destroy.
| Is This Answer Correct ? | 45 Yes | 22 No |
Post New Answer View All Answers
What is scope of a variable?
Do loops java?
What is variable explain?
Is constructor inherited?
What is a databasemetadata?
Is java a utf 8 string?
What is the difference between an inner class and a sub-class?
What is difference between char array and string?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
What is the basic of java?
Explain methods specific to list interface?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is compiler and what its output.
Which is bigger float or double java?
How are variables stored in memory?