lets say we have interface
interface Interf {
void a();
default void saySomething(){
print("123");
}
}
and class
class Cls implements Interf {
void a()
{
print();
}
}
can we sommeehow use default method? like for super methods:
class Cls implements Interf {
....
void saySomething()//prints "123456"
{
super.saySomething(); //something like this but for calling default implemntation
print("456");
}
}