From 4b2cb5a18b4a2aa7b92a531537f395c269948331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=8E=9F=E3=80=80=E5=8F=B6=E5=A4=A7?= <26-k-ishihara-acrowavenet@it-college.co.jp> Date: Wed, 14 Oct 2026 16:46:15 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EmployeeData.java | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) 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;