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
Write a program to find the greatest of three numbers in java?
Can a constructor be protected?
Are arrays classes in java?
Can you inherit from an abstract class java?
How garbage collection is done in java?
How does enum work in java?
Why declare Main() inside the class in java ?
Why char array is favored over string for the storage of passwords?
Which graphs are functions?
What are the types of arrays in java?
What is data movement?
What is navigable map in java?
Is null an object in java?
Implement two stacks using a single array.
What are the wrapped, classes?