Basics of Functional Interface And Lambda Expression in Java8
Reading Time: 3 minutes Java is based on OOPS concepts and abstraction is one of its feature. So by using interfaces in Java, we achieve abstraction. Like a class, an interface can have methods and variables, but the methods declared in an interface are by default abstract (method signature without body).