What is a Single Abstract Method (SAM) interface in Java 8?

A Functional interface is also known as Single Abstract Method Interface, since it has exactly one abstract method.

Leave a Reply

Your email address will not be published. Required fields are marked *