Java 1.8 new Features

Method References: interface Test{ public abstract void check(); } public class Lambda { public static void main(String[] args ) { Test t = () -> { System. out .println( "this is test interface check implementation" ); }; t .check(); } } In the above program we writing one lambda expression for providing implementation of Test interface check method and later referencing that method. In the above program Lambda Expression may be give a little bit of confusion, to avoiding that confusing and implementation separately in one method and later if we want to pointing that method we have alternative way that is Method References. If we are using Method References internally that method referen...