-
It is a good practise to not throw which exception in close() method of autocloseable?
-
- InterruptedException
- IOException
- CloseException
- CustomException
- None of these
Correct Option: A
InterruptedException interacts with a thread’s interrupted status and runtime misbehavior is likely to occur if an InterruptedException is suppressed.