From the course: Learning Java Enterprise Edition

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Java 8 introduction

Java 8 introduction - Java EE Tutorial

From the course: Learning Java Enterprise Edition

Start my 1-month free trial

Java 8 introduction

- [Tutor] In this video we'll take a high-level look at some of the most significant new features of the Java SE 8 release. So Java SE 8 was released in March 2014 and, with very little doubt, has been the best thing to happen to JavaWorld since the release of Java SE 5 in September 2004. It introduced many new features to the language and compiler. So let's get started and have a look at some of these. The introduction of lambda expression is a key feature of Java 8. Lambdas add closure support to the Java language. They allow us to pass functionality as an argument to a method and to treat code as data. Lambdas are seen as one of the most fundamental evolutions in the Java platform since the introduction of generics in Java SE 5. Lambdas lead to a different way of thinking and a different and cleaner way of writing code. Java 8 extends interface declaration with two new concepts: default and static methods. Default methods allow the addition of new methods to existing interfaces…

Contents