Lap Solution
Lap Solution
// Constructor
public Student(int studentID, String studentName, float studentGPA) {
this.studentID = studentID;
this.studentName = studentName;
this.studentGPA = studentGPA;
}
// Constructor
public Advisor(int advisorID, String advisorName, String advisorDept) {
this.advisorID = advisorID;
this.advisorName = advisorName;
this.advisorDept = advisorDept;
}
package studentinformation;
// Constructor
public Student(int studentID, String studentName, float studentGPA) {
this.studentID = studentID;
this.studentName = studentName;
this.studentGPA = studentGPA;
}
// Constructor
public Advisor(int advisorID, String advisorName, String advisorDept) {
this.advisorID = advisorID;
this.advisorName = advisorName;
this.advisorDept = advisorDept;
}
// Setters
public void setDonorID(int donorID) {
this.donorID = donorID;
}
// Getters
public int getDonorID() {
return donorID;
}