About Question enthuware.ocpjp.v8.2.1478 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
javalass
Posts: 54
Joined: Thu Mar 03, 2016 1:26 pm
Contact:

About Question enthuware.ocpjp.v8.2.1478 :

Post by javalass »

In fact, if a class (or an interface) overrides a default method of an interface, there is no way to invoke that default method from that class (or interface).
There is a way:

Code: Select all

interface IJogger {        
     default void run() { }
}

interface IRunner extends IJogger {
     @Override
     default void run() {
           IJogger.super.run();
     }        
}

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

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

Post by admin »

Fixed.
thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests