isAlive( ) method: isAlive( ) method is used to check whether a thread has ended or not. It returns true for a running thread and false for a thread which has ended.
final boolean isAlive( )
join( ) method: join( ) method is another method to check whether a thread has ended or not. In this process, the join method waits for the thread to terminate where it is called.
final void join( ) throws InterruptedException