About Question enthuware.ocajp.i.v7.2.1292 :

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

Moderator: admin

Post Reply
iCubeDm
Posts: 1
Joined: Wed Oct 21, 2015 2:54 pm
Contact:

About Question enthuware.ocajp.i.v7.2.1292 :

Post by iCubeDm »

Here is the typo in syntax. ";" is not permitted there

http://prntscr.com/8ttfv3

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

Re: About Question enthuware.ocajp.i.v7.2.1292 :

Post by admin »

While the semicolon is redundant, it is not an error. I just tried to compile it and it compiled fine.
-Paul.

Rinkesh
Posts: 35
Joined: Sat Nov 25, 2017 4:13 pm
Contact:

Re: About Question enthuware.ocajp.i.v7.2.1292 :

Post by Rinkesh »

So, if abstract class Klass had implemented the I interface then it would have kept the method public and then subclass just needed to extend the abstract class Klass? Am I right?

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

Re: About Question enthuware.ocajp.i.v7.2.1292 :

Post by admin »

What happened when you tried it out?

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests