Home » JAVA Programming » Multithreading » Question
  1. Which function of pre defined class Thread is used to check weather current thread being checked is still running?
    1. Join()
    2. isAlive()
    3. Alive()
    4. isRunning()
    5. None of these
Correct Option: B

isAlive() function is defined in class Thread, it is used for implementing multithreading and to check whether the thread called upon is still running or not.



Your comments will be displayed only after manual approval.