explain the life cycle of thread?
Answer Posted / vazza jones
The thread states are:
- New (created but start mtd not called)
- Runnable (Ready to run, waiting for CPU cycles)
- Running (allocated CPU cycle)
- Suspended (timed sleeping)
- Wait (waiting for a notify)
- Stopped (Completed)
| Is This Answer Correct ? | 40 Yes | 4 No |
Post New Answer View All Answers
What is java util?
Which variables are stored in heap?
Can we have any other return type than void for main method?
Is java a compiler?
describe method overloading
Which variables are stored in stack?
What is listnode in java?
What are the access modifiers in java?
Is map ordered in java?
How does regex work?
What do you understand by the term wrapper classes?
Why java is platform independent? Explain.
Difference difference paint() and paintcomponent()?
Why null value is used in string?
How can you write a loop indefinitely in java programming?