Page 1 of 1

About Question enthuware.ocpjp.v8.2.1478 :

Posted: Tue Mar 29, 2016 3:38 pm
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();
     }        
}

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

Posted: Tue Mar 29, 2016 9:19 pm
by admin
Fixed.
thank you for your feedback!
Paul.