Functional Interface
It’s an interface with just only one abstract method. it can have any number of default or static methods . lambdas can only operate on functional interface. it is also referred as Single Abstract Method Interfaces, or SAM Interfaces
interface Foo1{
...
sanjayprajapat.hashnode.dev1 min read