New Features in Java 8

Java 8 was released on 18th March, 2014. There were many features introduced in this release. The main purpose of this release was to concise code of Java programming. Others programming language like C, C++, Python, etc were having less line of code comparing to Java. One of the major feature was enabling functional programming in Java.

Here are few of the new features of Java 8 :-


1. Lambda Expressions
2. Functional Interface
3. Default and static methods
4. Predefined Functional Interfaces
  • Predicate
  • Function
  • Consumer
  • Supplier
  • etc..
5. Double colon operators ( :: )
  • Method reference purpose
  • Constructor reference purpose
6. Streams
7. Date and Time API
8. Optional Class
9. Nashron JavaScript Engine
.. etc

Comments

Post a Comment

Popular posts from this blog

Healthy Diet and Lifestyle

System Design