Functional Interface In Java
Functional Interface In Java | If an interface contains only one abstract method, such type of interface is called a functional interface and the method is called a functional method or single abstract method (SAM). Example:- Pre-defined Functional Interfaces Method Contains Runnable It contains only run() method Comparable It contains only compareTo() method ActionListener It […]
Functional Interface In Java Read More »