Why Functional Interfaces in Java 8 have one Abstract Method?
The functional interface also known as Single Abstract Method Interface was introduced to facilitate Lambda functions. Since a lambda function can only provide the implementation for 1 method it is mandatory for the functional interface to have ONLY one abstract method. For more details refer here. Edit -> Also worth noting here is that, a … Read more