List<String> strList = new ArrayList<String>(); strList.add("Java"); strList.add("Android"); strList.forEach(str -> System.out.println(str.length())); // ③ 查看完整描述