answersLogoWhite

0

About a threads life cycle

Updated: 8/18/2019
User Avatar

Wiki User

14y ago

Best Answer

A Thread has many states in its life cycle.

1. Active - When you create a new thread

2. Running - When you invoke the thread.start() method

3. Waiting - When it is waiting on user input or for some other thread

4. Terminated/Dead - Once it finishes execution.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: About a threads life cycle
Write your answer...
Submit
Still have questions?
magnify glass
imp