Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void displayStudents(Student[]students) {
- for (int i=0;i<students.length;i++) { // For each student in the array of students
- System.out.println(students[i].getStudentName());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment