From 6b7ae7f7688ba7b1c783ad6e34143b9a748a27eb Mon Sep 17 00:00:00 2001 From: fdai7600 Date: Thu, 8 Feb 2024 17:26:34 +0100 Subject: [PATCH] Added Attribute List of Courses for the Student --- src/main/java/org/example/Student.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/example/Student.java b/src/main/java/org/example/Student.java index 839a571..d22663a 100644 --- a/src/main/java/org/example/Student.java +++ b/src/main/java/org/example/Student.java @@ -12,6 +12,7 @@ public class Student { String studentName; String studentId; String studentRole; + List courses = new ArrayList<>(); public Student(){