Tech Master Tutorials
Email Facebook Google LinkedIn Pinterest Twitter
Home Java Java 8 Java Interview Questions Java8 Interview Questions Object Oriented Programming in Java JVM Java Programming

Introduction

Java 8 is is a major release of Java after Java 5 which was released on March 18, 2014. Java 8 has introduced some changes which are going to greatly impact the may programming is done in Java. Some of the new features are summarized in below text sections

Lambda expressions have been introduced which provides functional programming capability. Lambda expressions make the code more compact and readable.

Also functional interfaces have been introduced. Functional interface is an interface with only one abstract method. Functional interfaces can be easily instantiated using Lambda expressions.

Some of the other features are stream classes, CompletionStage, CompletableFuture and internal for-each construct for collections.