Why does lambda expression's argument contain object?

前端 未结 0 1217
生来不讨喜
生来不讨喜 2021-01-19 11:56

I defined a lambda expression in a class and I\'m referring an instance variable (field) from that same class.

public class TestLambda {

    private int id;
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题