Explain thread life cycle with suitable example.
Answers
Answered by
0
Explanation:
For example, a thread is born, started, runs, and then dies. The following diagram shows the complete life cycle of a thread. ... Runnable − After a newly born thread is started, the thread becomes runnable. A thread in this state is considered to be executing its task.
Answered by
0
Explanation:
Life Cycle of a Thread:-
For example, a thread is born, started, runs, and then dies. The following diagram shows the complete life cycle of a thread. New − A new thread begins its life cycle in the new state. It remains in this state until the program starts the thread.
Similar questions
Math,
6 months ago
Computer Science,
6 months ago
Economy,
6 months ago
Science,
1 year ago
Biology,
1 year ago