What is a Java Lambda expression and what interface type does it implement?

Java Associate Medium

Java Associate — Medium

What is a Java Lambda expression and what interface type does it implement?

Key points

  • Lambda expressions are used to provide a more compact way of implementing functional interfaces
  • They can be used to replace anonymous inner classes
  • Lambda expressions are commonly used in Java streams for functional programming

Ready to go further?

Related questions