4- Lambda Expressions

3:43 2 Munyori 1 Mabhuku 85 segments

Mabhuku

  1. 0:03

    So our greet method talks to the printer interface, and this is a functional interface because it has a single abstract method. Now, wouldn't it be nice if we could implement this method in a standalone function, like a function that exists…