public class StudentLoans {
private Student[] students;
public void displayAllStudents() {
System.out.println("Displaying all students ");
for (Student student : students) {
System.out.println("--------------------");
student.show();
}
}
}
Comments
Leave a comment