0 votes
in JAVA by
The main difference between AutoCloseable and Closeable is that:

a) AutoCloseable throws IOException; Closeable throws Exception

b) AutoCloseable is an implementation; Closeable is a concept

c) AutoCloseable throws Exception; Closeable throws IOException

d) AutoCloseable is a concrete class and Closeable is an interface

1 Answer

0 votes
by

c) AutoCloseable throws Exception; Closeable throws IOException

Related questions

+1 vote
asked May 7, 2021 in JAVA by sharadyadav1986
0 votes
asked Sep 12, 2022 in Scala Constructs by Robin
...