4- Lambda Expressions
3:43
2 ធុងបាស
1 ជំពូក
85 ចម្រៀក
ធុងបាស
ជំពូក
-
0:03ជំពូក 1: So our greet method talks to the printer interface, and this is a functional interface because it has a single abstract method. 217s · Speaker 2
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…