Java 8 Default Methods - in Depth


Details
As of Java 8, the interfaces we define can include implemented methods (in addition to the abstract ones). These methods are known as default methods. The default methods assist us with the development of a flexible, modular and readable code. Their use extends beyond the backward compatibility maintenance in Java’s standard libraries.
As of Java 9, the interface we define can include the definition of private methods (in addition to the abstract ones and the implemented ones we can define as of Java 8). These private methods assist us with implementing the default ones.
This meetup will be dedicated to Java 8 default methods and to Java 9 private methods, as well as to a detailed overview of all aspects related to the use of interfaces in our code.

Java 8 Default Methods - in Depth