Why Lambda expression use functional interface only
As you know functional programming is supported in JAVA 8 with the help of Lambda expression. The Lambda expression supported the Functional interface. These interfaces also are known as the Single Abstract method(SAM). The Lambda expressions support only those interfaces which have only one abstract method. It provides a body to the abstract method and … Read more