diff --git a/src/main/java/org/example/Student.java b/src/main/java/org/example/Student.java index d22663a..cdedae9 100644 --- a/src/main/java/org/example/Student.java +++ b/src/main/java/org/example/Student.java @@ -55,6 +55,10 @@ public class Student { this.studentRole = studentRole; } + public List getCourses() { + return 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