About Question enthuware.ocpjp.v21.2.1346 :

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

Moderator: admin

Post Reply
nkaragulov
Posts: 17
Joined: Mon Sep 16, 2024 1:49 am
Contact:

About Question enthuware.ocpjp.v21.2.1346 :

Post by nkaragulov »

Also implementing class may decide that overriding method doesn't throw anything.

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

Re: About Question enthuware.ocpjp.v21.2.1346 :

Post by admin »

Yes, that is also a valid approach for implementing the method.
One could also make the class abstract and not implement the method at all.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 104 guests