r/learnjava • • Mar 30 '20

Java Lambda expressions

I am a little lost as to what they are, how they work or what I can use them for.

I have no real example, just stumbled across the term and would like to understand it.

Are there understandable easy examples?

Thanks for possible help.

Edit: I found a pretty good explanation here. I just needed a easy and small example to wrap my head around this. Thanks to everyone who tried to help.

41 Upvotes

7 comments sorted by

View all comments

5

u/calmonad Mar 30 '20

JavaBrains has a pretty good lambda basics playlist: https://www.youtube.com/playlist?list=PLqq-6Pq4lTTa9YGfyhyW2CqdtW9RtY-I3

I also like Venkat Subramaniam's talks on the subject.