Lambda expression allows simplifying an interface implementation, but only in the case of an interface with one abstract method only (called a functional interface). Instead of creating a class that implements the interface (and pass its object as a parameter), a lambda expression allows to to pass in only the method body, without creating an […]