摘要: 1.Lambda语法格式 约束条件:只能实现有且只有一个抽象方法的接口,Java称为 函数式接口 public interface MathOperation { public int operation(int a, int b); } public class Java8Tester { pub 阅读全文
posted @ 2021-08-20 02:07 漩涡·海绵宝宝 阅读(72) 评论(0) 推荐(0)