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 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).
what is the difference between yielding and sleeping? : Java thread
Can arraylist contain null values?
What is a lock or purpose of locks in java?
Explain about anonymous inner classes ?
What is OOP Language?
What do you mean by boolean?
What do you mean by composition in java?
what methods would you overwrite in java.lang.object class?
What is character in data type?
What is arrays sort in java?
How many classes can any class inherit java?
What does substring mean?
Which list does not allow duplicates in java?
Can list have duplicates in java?