a) Closeable is an interface and AutoCloseable is a concrete class
b) Closeable throws IOException; AutoCloseable throws Exception
c) Closeable is a concept; AutoCloseable is an implementation
d) Closeable throws Exception; AutoCloseable throws IOException
What is the difference between AutoCloseable and Closeable?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the difference between AutoCloseable and Closeable?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!