--

Yes, you're somewhat right. However, static methods are really just functions, so that's always been doable. But With the introduction of lambda's into java, method references are basically short hand for (lambda (obj) (obj.method(...))) which I would argue still upholds the fact that the method is tied to the object. The lambda here is what is doing the magic.

--

--

Anurag Mendhekar
Anurag Mendhekar

Written by Anurag Mendhekar

Tech Entrepreneur, Author, and Software Artist

No responses yet