6段階目終わりました

This commit is contained in:
2026-09-15 16:21:10 +09:00
parent 1158708741
commit 782d0db2a9
2 changed files with 5 additions and 3 deletions

View File

@@ -69,8 +69,9 @@ public class EmployeeData {
this.idDepartment = idDepartment;
}
public void showInfo() {
System.out.println(this.getIdEmployee() + "\t" + this.getNmEmployee() + "\t" + this.getKnEmployee() + "\t"
@Override
public String toString() {
return (this.getIdEmployee() + "\t" + this.getNmEmployee() + "\t" + this.getKnEmployee() + "\t"
+ this.getMailAddress() + "\t" + this.getPassword() + "\t" + this.getIdDepartment());
}