From 628b3de9cd7ceb503e39eae1ba22345e66e8a2d4 Mon Sep 17 00:00:00 2001 From: fdai7921 Date: Wed, 7 Feb 2024 15:28:13 +0100 Subject: [PATCH] Adding new courses List in Administration class --- src/main/java/org/example/Administration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/example/Administration.java b/src/main/java/org/example/Administration.java index 8e6053b..27bdc9d 100644 --- a/src/main/java/org/example/Administration.java +++ b/src/main/java/org/example/Administration.java @@ -11,6 +11,7 @@ public class Administration { private List professors; private List admins; private List students; + private List courses; Scanner scanner = new Scanner(System.in); /** @@ -21,6 +22,7 @@ public class Administration { this.professors = new ArrayList<>(); this.admins = new ArrayList<>(); this.students = new ArrayList<>(); + this.courses = new ArrayList<>(); }