Course contentsShow
Java
Lesson 649 of 2,87015. Nested and Inner ClassesPro lesson

When to Prefer Lambdas Over Anonymous Classes

Compare anonymous classes to lambdas: use lambdas for single-method interfaces, anonymous classes otherwise.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.