About Question enthuware.ocpjp.v8.2.1176 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
Perelun
Posts: 5
Joined: Sat Jul 06, 2019 7:10 am
Contact:

About Question enthuware.ocpjp.v8.2.1176 :

Post by Perelun »

The answers explanations seems to me ambiguous because the first
"public class ReconciliationException extends Throwable" is valid, because it compiles, also if it is not a good practice, as explained.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1176 :

Post by admin »

The problem statement says "should" and not "can". That is why extending Throwable or Error are incorrect options as explained in the explanation.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests