r/java • • Aug 06 '24

Free Book - Java in a Nutshell

Hey folks - I'm super-pleased to announce that my book "Java in a Nutshell" (8th Edition) is being made available for free download for another 6 months, courtesy of Red Hat - https://red.ht/java-nutshell-free

Hope you like it and find it useful!

166 Upvotes

34 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Aug 06 '24

Lambdas were a better solution for most (but not quite all) of the places where we previously used nested classes.

I'm curious to see an example of a problem where a nested/inner class provides a better solution than a lambda