• Interface default methods in java
    21 June

    Interface Default Methods in Java 8

    1. Introduction In this post, We will introduce default methods in interface which are introduced in Java 8. Have you ever encountered a situation where you created an interface and several classes implemented it? Now, suppose you need to add new methods to the interface. Doing so would lead to a multitude of compilation errors across […]