From 03ddc327b3fd115c2265a588a44264170d472422 Mon Sep 17 00:00:00 2001 From: fdai7887 Date: Tue, 6 Feb 2024 20:35:40 +0100 Subject: [PATCH] Added addStudents Method to Administration class --- src/main/java/org/example/Administration.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/example/Administration.java b/src/main/java/org/example/Administration.java index 7e26c08..c1e28a3 100644 --- a/src/main/java/org/example/Administration.java +++ b/src/main/java/org/example/Administration.java @@ -62,7 +62,10 @@ public class Administration { return false; } +public void addStudents(Student student){ + students.add(student); +} }