InterviewSolution
Saved Bookmarks
| 1. |
Explain Java Thread Life Cycle. |
|
Answer» The life cycle of threads in Java is very similar to the life cycle of processes running in an operating system. During its life cycle the thread moves from one STATE to another DEPENDING on the operation performed by it or performed on it. A Java thread can be in one of the following states:
The life cycle of threads in Java is very similar to the life cycle of processes running in an operating system. During its life cycle the thread moves from one state to another depending on the operation performed by it or performed on it. A Java thread can be in one of the following states: |
|