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 an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1600


what is the difference between yielding and sleeping? : Java thread

517


Can arraylist contain null values?

562


What is a lock or purpose of locks in java?

581


Explain about anonymous inner classes ?

572






What is OOP Language?

621


What do you mean by boolean?

566


What do you mean by composition in java?

557


what methods would you overwrite in java.lang.object class?

559


What is character in data type?

543


What is arrays sort in java?

566


How many classes can any class inherit java?

504


What does substring mean?

501


Which list does not allow duplicates in java?

506


Can list have duplicates in java?

519