The life cycle of a Thread
In Java, a thread can be in any of the following states at any given time. A thread is only ever in one of the states depicted: New Runnable Blocked Waiting Timed Waiting Terminated Life cycle of a Thread diagram: The diagram shown below represents various states of a thread at any instant in time. […]
June 29, 2022 | Java | No comments