List<String> strList = new ArrayList<String>();
strList.add("Java");
strList.add("Android");
strList.forEach(str -> System.out.println(str.length())); // ③
相关分类