Java 8 – Default Methods, inheritance
Default Methods In the previous article we learned about functional programming using lambdas introduced in java8. We also learned about functional interfaces and method references. In this tutorial we will look at a side effect in Java8 – Default methods. The designers in Java always strive for backward compatibility, and so to add methods to … Read more