段階4完了しました。

This commit is contained in:
2026-09-14 16:19:04 +09:00
parent f1c2d91ae7
commit 616d3d006a
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
public class EmployeeData {
String idEmployee;
String nmEmployee;
String knEmployee;
String mailAddress;
String password;
String idDepartment;
}

21
em-oop/src/Main.java Normal file
View File

@@ -0,0 +1,21 @@
public class Main {
public static void main(String[] args) {
EmployeeData employee = new EmployeeData ();
employee.idEmployee = "10000";
employee.nmEmployee ="山田龍也";
employee.knEmployee ="ヤマダタツヤ";
employee.mailAddress ="yamada@hoge.jp";
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);
}
}