Browse Source

Added getters to Student class

remotes/origin/fdai7780
fdai7887 11 months ago
parent
commit
096248de41
  1. 10
      src/main/java/org/example/Student.java

10
src/main/java/org/example/Student.java

@ -17,5 +17,15 @@ public class Student {
this.role = role;
}
public String getStudentName() {
return StudentName;
}
public String getStudentID() {
return StudentID;
}
public String getRole() {
return role;
}
}
Loading…
Cancel
Save