It is a good practise to not throw which exception in close() method of autocloseable?
(a) IOException
(b) CustomException
(c) InterruptedException
(d) CloseException
This question was addressed to me during an online interview.
My doubt stems from AutoCloseable, Closeable and Flushable Interfaces in portion Session Management, JSP & API of Java