in JAVA by
Q:
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 and answers

0 votes
asked May 5, 2021 in JAVA by SakshiSharma
0 votes
asked Apr 10, 2021 in JAVA by Robindeniel
0 votes
asked Aug 21 in JAVA by sharadyadav1986
...