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.
More information about the Java course I deliver can be found at java.course.lifemichael.com.
1. Java 8 Default Methods
Haim Michael
September 19th
, 2017
All logos, trade marks and brand names used in this presentation belong
to the respective owners.
lifemichael
https://youtu.be/MvwUYHPDDzQ