From 2696d501af4742dc195d171c10fd31d66b7bc466 Mon Sep 17 00:00:00 2001 From: Tobias Herbert Date: Tue, 6 Feb 2024 20:00:56 +0100 Subject: [PATCH] Added addProfessor Method to Administration Class --- src/main/java/org/example/Administration.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/example/Administration.java b/src/main/java/org/example/Administration.java index c92897d..a2f4326 100644 --- a/src/main/java/org/example/Administration.java +++ b/src/main/java/org/example/Administration.java @@ -26,6 +26,11 @@ public class Administration { return false; } + public void addProfessor(Professor professor) + { + professors.add(professor); + } +