开心野狼

文章
7
资源
0
加入时间
4年0月7天

lambda表达式基本语法

1 、无参数,无返回值() -> System.out.println("hello World")Runnable hello_world = () -> System.out.println("hello World");hello_world.run(); //控制台输出hello World2 、有参数,无返回值(x) -> System.out.pr