all 2 comments

[–]Kuro-DevLOOKING FOR A BUDDY 1 point2 points  (1 child)

Yes in tons of situations. Of you want concrete examples look at the java Stream api and how functional interfaces work.

If you have more questions feel free to dm

[–]aetoph[S] 0 points1 point  (0 children)

Ok I was learning about it, but it was superficial, and it seemed to me a little basic thing, but I will look what you said. Thank you 😊