Presentation is loading. Please wait.

Presentation is loading. Please wait.

Notable Java 8 New Features – Not including Lambda S Marvasti

Similar presentations


Presentation on theme: "Notable Java 8 New Features – Not including Lambda S Marvasti"— Presentation transcript:

1 Notable Java 8 New Features – Not including Lambda S Marvasti
Advanced Programming in Java Notable Java 8 New Features – Not including Lambda S Marvasti

2 agenda Java versions Default method Functional interface Double colon
Functional programing Lambda expression Optional Streams

3 1.6(J2SE 6) Version Release Date Main Features 1.5(J2SE 5) 2004-2009
22 update Generic Types Annotation Autoboxing Enumorations Varargs Foreach 1.6(J2SE 6) More than 50 updates Last one 113 Performance improvements Security Improvements JDBC 4 J2SE 7 2011-now Many update Last one 101 String in switch NIO 2 Diamond in generic types Concurrency high level API

4 Java SE 9 Version Release Date Main Features Java SE 8 2014-now
Last update 92 Lambda expression or closure (Functional Programming) JavaScript embedded emulator Annotation on Java Type default method in interface Java SE 9 Scheduled for  March 2017 Better support for multi-gigabyte heaps Java module system (OSGI like built-in system) Reactive Streams support Better support for parallel systems Java SE 10 Scheduled for  March 2018 Object without Identity Support 64-bit addressable arrays 

5 Java programing paradigms
Prior to JavaSE 8, Java supported three programming paradigms procedural programming object-oriented programming generic programming. Java SE 8 adds functional programming programming that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data. Stateless functions is building block of code

6 compare

7 Functional interface

8 sample


Download ppt "Notable Java 8 New Features – Not including Lambda S Marvasti"

Similar presentations


Ads by Google