Here is the typo in syntax. ";" is not permitted there
http://prntscr.com/8ttfv3
About Question enthuware.ocajp.i.v7.2.1292 :
Moderator: admin
-
- Posts: 1
- Joined: Wed Oct 21, 2015 2:54 pm
- Contact:
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1292 :
While the semicolon is redundant, it is not an error. I just tried to compile it and it compiled fine.
-Paul.
-Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 35
- Joined: Sat Nov 25, 2017 4:13 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1292 :
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?
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1292 :
What happened when you tried it out?
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 109 guests