Answer the question
In order to leave comments, you need to log in
How are Thread.join() and InterruptedException related?
Tell me, why do you need to put a catch block with InterruptedException to call Thread.join()? I can't get the connection. For example, for the Thread.sleep() method, this is logical - the catch block will indicate actions if the sleep is interrupted. Why Thread.join()?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question