diff --git a/src/main/java/org/example/Professor.java b/src/main/java/org/example/Professor.java index 79295ac..7dc15b1 100644 --- a/src/main/java/org/example/Professor.java +++ b/src/main/java/org/example/Professor.java @@ -25,4 +25,8 @@ public class Professor { public String getName() { return Name; } + + public void setName(String name) { + Name = name; + } }