What is the life cycle of Thread ?

Answer Posted / vaibhav mistry

The cycle of Thread is as Followed :

Start()
Run()
Wait()/Sleep()/Block()
notify()/notifyall()
Stop()

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between map and flatmap stream operation?

821


Can a final variable be manipulated in java?

532


What are 4 pillers of object orinted programming?

582


How many threads can java run?

560


What carriage return means?

530






Which class contains a method: cloneable or object?

542


How to perform linear search in java?

568


What is a jit compiler?

640


What is struts in java?

577


What are predicates in java 8?

533


Why java is secure? Explain.

597


What happens if constructor is private?

566


What is unicode in java?

507


What is the exact difference in between Unicast and Multicast object? Where will it be used?

584


What is outofmemoryerror in java?

568