Thread There is a nested class
that describes the state of the thread
Figure thread state
Wait method and notify methods Object class
Thread There is a nested class
that describes the state of the thread
Wait method and notify methods Object class