Java 8 language changes

Learn how Lambda expressions and changes to interface classes make Java 8 a new language

From the developerWorks archives

Dennis Sosnoski

Date archived: April 22, 2019 | First published: April 08, 2014

Java™ 8 incorporates important new language features that give you easier ways to construct programs. Lamba expressions define a new syntax for inline code blocks that gives you the same flexibility as anonymous inner classes, with much less boilerplate. Interface changes make it possible to add to existing interfaces without breaking compatibility with existing code. Learn how these changes work together, and read the companion "Java 8 concurrency basics" article to see how to use lambdas with Java 8 streams.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

Zone=Java development
ArticleTitle=Java 8 language changes