From 2ecf9440f7882d25d157f334ae4cba2cbb00a6ba Mon Sep 17 00:00:00 2001 From: fdai7600 Date: Tue, 6 Feb 2024 18:55:45 +0100 Subject: [PATCH] Added getProfessorID() for Professor class --- src/main/java/org/example/Professor.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/example/Professor.java b/src/main/java/org/example/Professor.java index c6e9363..53b26eb 100644 --- a/src/main/java/org/example/Professor.java +++ b/src/main/java/org/example/Professor.java @@ -13,4 +13,8 @@ public class Professor { Name = name; this.role = role; } + + public String getProfessorID() { + return professorID; + } }