1日目_段階4

This commit is contained in:
2026-09-18 12:45:55 +09:00
parent 1f57c5b7e0
commit 28b8e508f3
3 changed files with 31 additions and 19 deletions

View File

@@ -1,20 +1,22 @@
public class EmployeeData {
public static void main(String args[]) {
String idEmployee;
String nmEmployee;
String knEmployee;
String mailAddress;
String password;
String idDepartment;
}
// public EmployeeData() {
// this.idEmployee = "";
// public static void main(String args[]) {
String idEmployee ;
String nmEmployee ;
String knEmployee ;
String mailAddress ;
String password ;
String idDepartment ;
// public String Employee(String idEmployee) {
// this.idEmployee= idEmployee;
// }
public void showinfo() {
System.out.println();
// this.idEmployee = idEmployee;
System.out.println(this.idEmployee + "\t" + this.nmEmployee+ "\t" + this.knEmployee + "\t"+ this.mailAddress+ "\t" + this.password + "\t"+ this.idDepartment );
}