Browse Source

Added setters to Student class

remotes/origin/fdai7780
fdai7887 11 months ago
parent
commit
5d3ead7152
  1. 12
      src/main/java/org/example/Student.java

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

@ -28,4 +28,16 @@ public class Student {
public String getRole() {
return role;
}
public void setStudentName(String studentName) {
StudentName = studentName;
}
public void setStudentID(String studentID) {
StudentID = studentID;
}
public void setRole(String role) {
this.role = role;
}
}
Loading…
Cancel
Save