标签:oid rgs print system code ret turn main get
public static void main(String[] args) {
String s = s(() -> {
return "是";
});
System.out.println(s);
}
public static String s(Supplier<String> pp){
return pp.get();
}
public static void main(String[] args) {
p("张三", System.out::println, System.out::println, System.out::println);
}
public static void p(String a, Consumer name1, Consumer
name1.andThen(name2.andThen(name3)).accept(a);
}
标签:oid rgs print system code ret turn main get
原文地址:https://www.cnblogs.com/zlh109/p/14160977.html