List <String> listOfStudentNames=listOfStudents.stream() .map(Student::getName()) .collect(Collectors.toList());. Other Java 8 tutorials you may also like ...
確定! 回上一頁