Java ThreadGroup isDestroyed() method
The isDestroyed() method of ThreadGroup class tests if the thread group has been destroyed.
This method returns true if the object is destroyed.
ExampleTest it Now
Starting of Thread-1 Starting of Thread-2 Group is not destroyed Thread-1 completed executing Thread-2 completed executing