Browse Source

Added student list to Administration class

remotes/origin/fdai7780
fdai7887 11 months ago
parent
commit
da9fcabb5f
  1. 3
      src/main/java/org/example/Administration.java

3
src/main/java/org/example/Administration.java

@ -6,11 +6,14 @@ import java.util.List;
public class Administration { public class Administration {
private List<Professor> professors; private List<Professor> professors;
private List<Admin> admins; private List<Admin> admins;
private List<Student> students;
public Administration() public Administration()
{ {
this.professors = new ArrayList<>(); this.professors = new ArrayList<>();
this.admins = new ArrayList<>(); this.admins = new ArrayList<>();
this.students = new ArrayList<>();
} }

Loading…
Cancel
Save