Solved

When a Sleeping Thread Is Interrupted, an InterruptedException Is Generated

Question 42

Multiple Choice

When a sleeping thread is interrupted, an InterruptedException is generated.Where do you catch that exception?


A) in the start() method.
B) in the sleep() method.
C) in the run() method.
D) in the interrupt() method.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions