MCQOPTIONS
Saved Bookmarks
| 1. |
What is the difference between AutoCloseable and Closeable? |
| 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 |
| Answer» C. Closeable is a concept; AutoCloseable is an implementation | |