Browse Source

Added enhanced constructor to Student class

remotes/origin/fdai7780
fdai7887 11 months ago
parent
commit
f12679beeb
  1. 7
      src/main/java/org/example/Student.java

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

@ -11,4 +11,11 @@ public class Student {
}
public Student(String name, String id, String role) {
this.StudentName = name;
this.StudentID = id;
this.role = role;
}
}
Loading…
Cancel
Save