+ 10

What is the core principle of lambda expression in java?

27th Apr 2019, 3:54 PM
Nasir❤
Nasir❤ - avatar
2 odpowiedzi
27th Apr 2019, 5:02 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Lambda expressions, which are also known as lambdas or closures, allow an object with a single method to be created with only an -> operator. Lambdas became a handy feature as it allowed to work with functional interfaces without creating a new method. Using lambdas could increase the efficiency and readability of the code. Also it can greatly minimize the lines of code. This feature was added in java 8 as it was a highly requested feature
27th Apr 2019, 4:31 PM
Seniru
Seniru - avatar