Browse Source

Added Setter for the class Student courses

remotes/origin/fdai7780
fdai7600 11 months ago
parent
commit
6ad1984302
  1. 4
      src/main/java/org/example/Student.java

4
src/main/java/org/example/Student.java

@ -59,6 +59,10 @@ public class Student {
return courses;
}
public void setCourses(List<Course> 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

Loading…
Cancel
Save