Java 8 Static and Default Methods
Default Method: For backward-compatibility.
To invoke a default method using the interface name, you can use the interfaceName.super.defaultMethod() syntax, like this:
interface MyInterface {
default void defaultMethod() {
System.out.println("This ...
bikash8848.hashnode.dev1 min read