1.

What Is The Difference Between Anonymous Class And Lambda Function?

Answer»

One important difference is the USE of keywords. The KEYWORD “this” in Lambda resolve to enclosing class while the same in CASE of Anonymous Class RESOLVES to the anonymous class itself.

One important difference is the use of keywords. The keyword “this” in Lambda resolve to enclosing class while the same in case of Anonymous Class resolves to the anonymous class itself.



Discussion

No Comment Found