0914 段階5 小澤
This commit is contained in:
@@ -8,4 +8,9 @@ public class EmployeeData {
|
||||
String idDepartment;
|
||||
|
||||
|
||||
public void showInfo() {
|
||||
System.out.println(this.idEmployee+"\t"+this.nmEmployee+" "+this.knEmployee+"\t"+this.mailAddress+"\t"+this.password+"\t"+this.idDepartment);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -9,13 +9,20 @@ public class Main {
|
||||
employee.password="aaa";
|
||||
employee.idDepartment="10";
|
||||
|
||||
System.out.println(employee.idEmployee);
|
||||
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);
|
||||
employee.showInfo();
|
||||
|
||||
// System.out.println();
|
||||
// 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);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user