作者:微信小助手
发布时间:2020-09-17T08:53:20
点击上方蓝色“ 程序猿DD ”,选择“设为星标” 回复“资源”获取独家整理的学习资料!
一:简洁
静态方法引用,通过类名::静态方法名, 如 Integer::parseInt
实例方法引用,通过实例对象::实例方法,如 str::substring
构造方法引用,通过类名::new, 如 User::new