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
What is a method in programming?
Is 0 true or false in java?
What is number data type in java?
What is java full form?
What are new features introduced with java 8 ?
Can set contain duplicates?
What is the purpose of final keyword and when to use it?
What is difference between classpath and path variables in java?
What is fundamental datatype?
Why do we need hashset in java?
What a static class can contains?
What are heap memory and stack memory and what are memory tables.
Can an arraylist be empty?
What is java literals?
Can we access instance variables within static methods ?