diff --git a/EmployeeData.java b/EmployeeData.java index 6889f62..09e90f0 100644 --- a/EmployeeData.java +++ b/EmployeeData.java @@ -16,18 +16,17 @@ public class EmployeeData { //まとめて表示 - void showInfo() { + public void showInfo() { - System.out.println( - this.idEmployee + "\t" - + this.nmEmployee + "\t" - + this.knEmployee + "\t" - + this.mailAddress + "\t" - + this.password + "\t" - + this.idDepartment); + System.out.println(this.idEmployee + "\t" + + this.nmEmployee + "\t" + + this.knEmployee + "\t" + + this.mailAddress + "\t" + + this.password + "\t" + + this.idDepartment); } //IDチェック - boolean isMatchId(String id) { + public boolean isMatchId(String id) { if (this.idEmployee.equals(id)) { return true;