1.无参数、无返回值
public class Test { public static void main(String[] args) { print(()->{ System.out.println("abc"); }); } public static void print(Student student){ student.a(); } }
2.