Home » JAVA Programming » Multithreading » Question
  1. Which of this method is used to find out that a thread is still running or not?
    1. checkRun()
    2. run()
    3. Alive()
    4. isAlive()
    5. None of these
Correct Option: D

The isAlive( ) method returns true if the thread upon which it is called is still running. It returns false otherwise.



Your comments will be displayed only after manual approval.