• Java 8 Lambda expressions
    22 June

    Lambda Expressions in Java 8

    1. Introduction Java 8 has introduced a new feature called Lambda expressions. This is considered to be major change for Java because it introduces a way of programming that is more about actions than the details of how things are done. Other languages such as Scala already have this feature so this is not new […]

  • 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 […]