段階5完了しました。

This commit is contained in:
2026-09-14 16:26:28 +09:00
parent 616d3d006a
commit fdcb186a01
2 changed files with 6 additions and 7 deletions

View File

@@ -6,4 +6,9 @@ public class EmployeeData {
String mailAddress; String mailAddress;
String password; String password;
String idDepartment; String idDepartment;
void showInfo() {
System.out.println(this.idEmployee+"\t"+this.nmEmployee+"\t"+this.knEmployee+"\t"+this.mailAddress+"\t"+this.password+"\t"+this.idDepartment);
}
} }

View File

@@ -10,12 +10,6 @@ public class Main {
employee.password ="aaa"; employee.password ="aaa";
employee.idDepartment ="10"; employee.idDepartment ="10";
System.out.println(employee.idEmployee); employee.showInfo();
System.out.println(employee.nmEmployee);
System.out.println(employee.knEmployee);
System.out.println(employee.mailAddress);
System.out.println(employee.password);
System.out.println(employee.idDepartment);
} }
} }