diff --git a/src/main/java/org/example/Professor.java b/src/main/java/org/example/Professor.java index 464757e..ec3271f 100644 --- a/src/main/java/org/example/Professor.java +++ b/src/main/java/org/example/Professor.java @@ -29,6 +29,7 @@ public class Professor { public Professor() { } + /** * Constructs a new Professor with the specified ID, name, and role. * @@ -44,11 +45,15 @@ public class Professor { } + + public List getCoursesTaught() {return coursesTaught;} + /** * Retrieves the professor's ID. * * @return the unique identifier for the professor */ + public String getProfessorID() { return professorID; }