Page 1 of 1

About Question enthuware.ocpjp.v7.2.1283 :

Posted: Wed Jan 25, 2017 2:59 pm
by sir_Anduin@yahoo.de
But NullPointerException is a java.lang.Exception, so a java.lang.Exception may be thrown...

Im I wrong?

Re: About Question enthuware.ocpjp.v7.2.1283 :

Posted: Wed Jan 25, 2017 10:07 pm
by admin
The question clearly asks about "checked exceptions". NullPointerException is not a checked exception.

Also, since the question is about specific exceptions and options also list specific exceptions, you should not consider exceptions that are not listed in the options.