Java 1.8 has formalized the lambda expression implementation through the use of the @FunctionalInterface annotation and the inclusion of the new specification on anonymous functions. This recipe will open a new technique in creating lambda expression.