2019年9月14日
摘要: 函数式接口:只有一个抽象方法的接口 一、lambda表达式(方法参数为函数式接口) 1.无参 public interface MyFunctionalInterface { void method(); } public class TestJdk8 { public static void sh 阅读全文
posted @ 2019-09-14 11:02 bofeng 阅读(406) 评论(0) 推荐(0) 编辑