= Java8 = Has many improvments like added support for functional programming, added new date time API and the new stream API similar to LINQ queries in C# (map/reduce). == Lambda expressions examples == {{{#!highlight java /* javac LambdaExpressionTest.java java -cp . LambdaExpressionTest */ public class LambdaExpressionTest{ public static void main(String[] args){ System.out.println("LambdaExpressionTest"); // define implementation // (lambda parameters) -> { // lambda body }; TestIt testIt = (stuffx) -> System.out.println("Stuff " + stuffx); testIt.sayStuff("Msg"); // change lambda function implementation testIt = (stuffxx) -> { stuffxx = stuffxx.toUpperCase(); System.out.println("OtherStuff " + stuffxx); }; testIt.sayStuff("Msg"); } // lambda expressions require interfaces to define the expected parameters public interface TestIt{ void sayStuff(String stuff); } } }}}