当使用List 的forEach() 方法时,该方法需要接收一个Consumer 对象。 ... public class Generic { // Java 匿名类、lambda表达式、方法引用的使用 ...
確定! 回上一頁