1日目_段階6

This commit is contained in:
2026-09-18 13:58:15 +09:00
parent 28b8e508f3
commit c31f27f461
3 changed files with 86 additions and 31 deletions

View File

@@ -9,11 +9,28 @@ public class EmployeeData {
String password ;
String idDepartment ;
public EmployeeData(String idEmployee,String nmEmployee,
String knEmployee,String mailAddress,String password
,String idDepartment) {
this.idEmployee = idEmployee;
this.nmEmployee = nmEmployee;
this.knEmployee = knEmployee;
this.mailAddress =mailAddress;
this.password = password;
this.idDepartment = idDepartment;
}
// public String Employee(String idEmployee) {
// this.idEmployee= idEmployee;
// }
public EmployeeData() {
// TODO 自動生成されたコンストラクター・スタブ
}
public void showinfo() {
// this.idEmployee = idEmployee;
System.out.println(this.idEmployee + "\t" + this.nmEmployee+ "\t" + this.knEmployee + "\t"+ this.mailAddress+ "\t" + this.password + "\t"+ this.idDepartment );