Functional interfaces in java

What is a functional interface? Functional interfaces in java is an interface where you have only one abstract method. It…

add comment

Default methods in java 8

From Java 8 onward, it’s allowed to have methods in an interface with specifying the type as default. Prior to…

add comment