Browse Source

Added Constructor

remotes/origin/fdai7780
fdai7600 11 months ago
parent
commit
62d959f5fa
  1. 8
      src/main/java/org/example/Professor.java

8
src/main/java/org/example/Professor.java

@ -5,4 +5,12 @@ public class Professor {
private String Name; private String Name;
public String role; public String role;
public Professor() {
}
public Professor(String professorID, String name, String role) {
this.professorID = professorID;
Name = name;
this.role = role;
}
} }
Loading…
Cancel
Save