Skip to Content
Java: The Complete Reference, Twelfth Edition, 12th Edition
book

Java: The Complete Reference, Twelfth Edition, 12th Edition

by Herbert Schildt
November 2021
Intermediate to advanced
1280 pages
34h 57m
English
McGraw-Hill
Content preview from Java: The Complete Reference, Twelfth Edition, 12th Edition

CHAPTER 15

Lambda Expressions

During Java’s ongoing development and evolution, many features have been added since its original 1.0 release. However, two stand out because they have profoundly reshaped the language, fundamentally changing the way that code is written. The first was the addition of generics, added by JDK 5. (See Chapter 14.) The second is the lambda expression, which is the subject of this chapter.

Added by JDK 8, lambda expressions (and their related features) significantly enhanced Java because of two primary reasons. First, they added new syntax elements that increased the expressive power of the language. In the process, they streamlined the way that certain common constructs are implemented. Second, the addition of lambda ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java: The Complete Reference, Thirteenth Edition, 13th Edition

Java: The Complete Reference, Thirteenth Edition, 13th Edition

Herbert Schildt, Dr. Danny Coward
Head First Java, 3rd Edition

Head First Java, 3rd Edition

Kathy Sierra, Bert Bates, Trisha Gee
Learning Java, 6th Edition

Learning Java, 6th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck
Java in a Nutshell, 7th Edition

Java in a Nutshell, 7th Edition

Benjamin J. Evans, David Flanagan

Publisher Resources

ISBN: 9781260463422