How does a Java subclass call a method that specifies a parent class or interface?

existing classes that are outside my control
class A {
public void test () {}
}

classes under my control
class B extends An implements I {
public void test () {
/ / how to directly execute the default test method of I
}
}

interface I {
default void test () {
/ /.
}
}

May.20,2022

I.super.test ();


interface I {
default void test () {
/ /.
}
}

The methods in the

interface are abstract. There should be no specific implementation, so curly braces do not exist.

Menu