O'Reilly logo
  • Debbie Lin thinks this is interesting:

Option B is correct because the unhandled exception becomes declared.

From

Cover of OCP Oracle® Certified Professional Java® SE 8 Programmer II

Note

The truth is that the answer only C, because the try-catch will catch the exception while try-with-resource arguments.