Email Icon   Forward to a friend
Oracle Logo
Java Magazine
Week of May 31, 2021

Everything you need to know about lambdas.
Lambdas aren’t new. Yet many developers struggle with lambdas and the concept of functional programming. We’ve received some correspondence from Java Magazine readers, and lambdas are frequently mentioned as a “please publish more about this” topic.

In that light, we are republishing Venkat Subramaniam’s outstanding two-part series from 2015. You can read the first part, “Functional programming in Java, Part 1: Lists, lambdas, and method references,” right now. The second part will be published mid-June.

If you are learning about lambda expressions—or think you know all about them—you might enjoy some quizzes from Mikalai Zaikin and Simon Roberts.

Are there any topics that you want to read about? Drop us a note at javamag_us@oracle.com.

Thank you,
Alan Zeichick
Editor in Chief, Java Magazine
@zeichick

P.S. Oracle is now offering a new cloud-based compute platform, which uses the 64-bit Ampere Altra processor. Here’s how to deploy Java apps on that platform. Check it out!
Quizzes on lambda expressions -Image
Quizzes on lambda expressions
Quiz yourself: Using core functional interfaces
See if you know how to use the predicate, consumer, function, and supplier interfaces.

Quiz yourself: The correct syntax of Java lambda parameters
Be sure to know the difference between identifiers and specifiers.

Quiz yourself: Lambda expressions
Learn the subtleties of using var in lambda expressions.

Quiz yourself: Lambda types
Can a lambda return a lambda?

Quiz yourself: Lambda expressions
Lambdas are essentially expressions that define a class and instantiate an object from that class. Do you know how to use them?
The newest articles
Functional programming in Java, Part 1: Lists, lambdas, and method references
In this republished article, Venkat Subramaniam teaches you everything you need to know about functional programming and Java lambdas.

You don’t always need an application server to run Jakarta EE applications
Arjan Tijms explains that sometimes, a lightweight runtime is all you need to run applications that require the Java EE or Jakarta EE APIs.

Exploring Joshua Bloch’s Builder design pattern in Java
Bloch’s version of the Builder pattern provides a simple and safe way to build objects that have many optional parameters, writes Frank Kiwy.
Other recent articles
A peek into Java 17: Continuing the drive to encapsulate the Java runtime internals, by Ben Evans

Everything you need to know about OpenJDK’s move to Git and GitHub, by Ian Darwin

Make Java REST development easier with the Jareto library, by Nenad Jovanovic

Guava: A treasure trove of Java functionality, by Andrew Binstock

Essential Java 16 resources and downloads, by Alan Zeichick
Complimentary subscription to Java Magazine
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.

Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox.
Stay connected
Facebook Twitter RSSfeed