diff --git a/src/main/java/org/example/Professor.java b/src/main/java/org/example/Professor.java index 48f8110..79295ac 100644 --- a/src/main/java/org/example/Professor.java +++ b/src/main/java/org/example/Professor.java @@ -21,4 +21,8 @@ public class Professor { public void setProfessorID(String professorID) { this.professorID = professorID; } + + public String getName() { + return Name; + } }