Coding Friction

Interface

Java Generic Interfaces

it is used to deal with abstract data types .This is implemented for different data types. Generic interfaces are specified just like generic classes. For example :

Java 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 when you declare functional interface @FunctionalInterface can be added , but if you applied on that …

Java Functional Interface Read More »