Java Lambda Expressions #2 - The Functional Interface

1 year ago
16

In my first video about Java lambda expressions I said that a Java lambda expression can only implement single method interfaces, meaning interfaces with a single method in. However, that is not entirely correct.

A Java lambda expression can implement interfaces which have a single unimplemented method (abstract method), but the interface can have as many default and static methods as you like. This video shows examples of that.

Here is a link to a full article about Java lambda expressions:

http://tutorials.jenkov.com/java/lambda-expressions.html

Here is my YouTube playlist about Java lambda expressions:

https://www.youtube.com/playlist?list=PLL8woMHwr36HQhhPPdV_T8rigbuywMpD7

Loading comments...