Category Lambda expression

Lambda expression example in java 8

Functional Interface:  An interface with only one abstract methodpackage org.lamda; @FunctionalInterfacepublic interface Fun { public void makeFun(String f);} Lambda Expression: (->)  Lambda expressions are anonymous functions, we can pass as a parameter to a function instead of object. package org.lamda;…

Enable Notifications OK No thanks