1, Lambda表达式
(input parameters) => expression
例如(x,y) => x==y
2, Lambda语句
(input parameters) => {statement;}
例如n=>{String s = n + "World";};
1, Lambda表达式
(input parameters) => expression
例如(x,y) => x==y
2, Lambda语句
(input parameters) => {statement;}
例如n=>{String s = n + "World";};