Give a briefing on the life cycle of a thread.
Answer / nashiinformaticssolutions
The life cycle of a thread includes five stages, as mentioned below.
1. New Born State
2. Runnable State
3. Running State
4. Blocked State
5. Dead State
Is This Answer Correct ? | 0 Yes | 0 No |
Explain notifyall() method of object class ?
When the constructor of a class is invoked?
What is consumer in java?
Why are the objects immutable in java?
What is Map interface?
What is java class writing rules?
What are the different types of sorting in java?
How do you declare a destructor in java?
How to invoke external process in java.
What are the differences between graph and tree?
Can you override static method in java?
How does enum work in java?