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


Please Help Members By Posting Answers For Below Questions

Write a program to find the greatest of three numbers in java?

565


Can a constructor be protected?

536


Are arrays classes in java?

535


Can you inherit from an abstract class java?

537


How garbage collection is done in java?

553






How does enum work in java?

552


Why declare Main() inside the class in java ?

610


Why char array is favored over string for the storage of passwords?

561


Which graphs are functions?

498


What are the types of arrays in java?

563


What is data movement?

669


What is navigable map in java?

527


Is null an object in java?

567


Implement two stacks using a single array.

577


What are the wrapped, classes?

603