What is the life cycle of Thread ?
Answer Posted / chinnadurai
1. when the thread create New State
2. after start() Runnable state
3. Running State
4. Wait/Block/Sleep State
5. Dead State
| Is This Answer Correct ? | 79 Yes | 11 No |
Post New Answer View All Answers
Mention the default values of all the elements of an array defined as an instance variable.
What is multi-catch block in java?
What is visibility mode?
Is an integer an object?
Explain java code for recursive solution's base case?
Can we have any code between try and catch blocks?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Can you use this() and super() both in a constructor?
How do you sing an Applet ?
What is the diffrence between inner class and nested class?
What is hash in java?
What is the difference between menuitem and checkboxmenu item?
Can we write class inside a class in java?
How many threads can java run?
Explain scope or life time of local variables in java?