4段階目終わりました

This commit is contained in:
2026-09-14 16:54:20 +09:00
parent 4ef8fca04f
commit f8f6523954
2 changed files with 30 additions and 0 deletions

View File

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

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

@@ -0,0 +1,20 @@
public class Main {
public static void main(String[] args) {
EmployeeData employee = new EmployeeData();
employee.idEmployee = "10000";
employee.nmEmploee = "山田龍也";
employee.knEmployee = "ヤマダタツヤ";
employee.mailAddress = "yamada@hoge.jp";
employee.password = "aaa";
employee.idDepartment = "10";
System.out.println(employee.idEmployee);
System.out.println(employee.nmEmploee);
System.out.println(employee.knEmployee);
System.out.println(employee.mailAddress);
System.out.println(employee.password);
System.out.println(employee.idDepartment);
}
}