diff --git a/src/main/java/org/example/Student.java b/src/main/java/org/example/Student.java index cdedae9..70db548 100644 --- a/src/main/java/org/example/Student.java +++ b/src/main/java/org/example/Student.java @@ -59,6 +59,10 @@ public class Student { return courses; } + public void setCourses(List courses) { + this.courses = courses; + } + /** * Prints the basic information of the student in the console. * This methods displays the studentĀ“s ID, name and role, providing a quick overview of the studentĀ“s identity