Professional Documents
Culture Documents
More Compl
More Compl
java
Download
Copy code
public class Student {
// Other code remains the same
java
Download
Copy code
public class Student {
// Other code remains the same
@Override
public String toString() {
return "Student [studentNo=" + studentNo + ", surname=" + surname + ",
firstName=" + firstName + ", middleName=" + middleName + ", college=" + college +
", department=" + department + ", level=" + level + ", phoneNumber=" + phoneNumber
+ ", gender=" + gender + "]";
}
}
Consider implementing a user interface using JavaFX or Swing for easier interaction
with the application.