1日目_段階4_完了
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
public class BasicCheck3 {
|
||||
|
||||
public static void main(String[] args){
|
||||
System.out.println("段階1-③");
|
||||
|
||||
|
||||
|
||||
Item[] items = new Item[3];
|
||||
|
||||
12
em-oop/src/EmployeeData.java
Normal file
12
em-oop/src/EmployeeData.java
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
public class EmployeeData {
|
||||
public static void main(String args[]) {
|
||||
String idEmployee;
|
||||
String nmEmployee;
|
||||
String knEmployee;
|
||||
String mailAddress;
|
||||
String password;
|
||||
String idDepartment;
|
||||
}
|
||||
|
||||
}
|
||||
25
em-oop/src/Main.java
Normal file
25
em-oop/src/Main.java
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
EmployeeData employee = new EmployeeData() ;
|
||||
String idEmployee = "10000";
|
||||
String nmEmployee = "山田龍也";
|
||||
String knEmployee = "ヤマダタツヤ";
|
||||
String mailAddress = "yamada@hoge.jp";
|
||||
String password = "aaa";
|
||||
String idDepartment = "10";
|
||||
|
||||
// System.out.println(employee);
|
||||
System.out.println(idEmployee);
|
||||
System.out.println(nmEmployee);
|
||||
System.out.println(knEmployee);
|
||||
System.out.println(mailAddress);
|
||||
System.out.println(password);
|
||||
System.out.println(idDepartment);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user