From 89c707d037b7832ae81d492165bfe1e12534ebd0 Mon Sep 17 00:00:00 2001 From: Tobias Herbert Date: Tue, 6 Feb 2024 19:54:24 +0100 Subject: [PATCH] Added Constructor to Administration Class --- src/main/java/org/example/Administration.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/example/Administration.java b/src/main/java/org/example/Administration.java index 76173a3..225f12a 100644 --- a/src/main/java/org/example/Administration.java +++ b/src/main/java/org/example/Administration.java @@ -7,7 +7,11 @@ public class Administration { private List professors; private List admins; - + public Administration() + { + this.professors = new ArrayList<>(); + this.admins = new ArrayList<>(); + } }