But NullPointerException is a java.lang.Exception, so a java.lang.Exception may be thrown...
Im I wrong?
About Question enthuware.ocpjp.v7.2.1283 :
Moderator: admin
-
- Posts: 62
- Joined: Fri Aug 07, 2015 2:16 pm
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1283 :
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.
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.
Who is online
Users browsing this forum: No registered users and 14 guests