diff --git a/src/main/java/EmployeeData.java b/src/main/java/EmployeeData.java new file mode 100644 index 0000000..fc0c2b3 --- /dev/null +++ b/src/main/java/EmployeeData.java @@ -0,0 +1,16 @@ + + public class EmployeeData { + String idEmployee; + String nmEmployee; + String knEmployee; + String mailAddress; + String password; + String idDepartment; + + + + public void showInfo(){ + System.out.println(this.idEmployee + "\t" + this.nmEmployee + "\t" + this.knEmployee + "\t" + "\t" + this.mailAddress + "\t" + this.password + "\t" + this.idDepartment); + } + +} \ No newline at end of file diff --git a/src/main/java/em_oop_kawara.java b/src/main/java/em_oop_kawara.java new file mode 100644 index 0000000..ee22d4a --- /dev/null +++ b/src/main/java/em_oop_kawara.java @@ -0,0 +1,17 @@ + +public class em_oop_kawara { + + public static void main(String[] args) { + // TODO 自動生成されたメソッド・スタブ + Book book = new Book(); + + book.title = "吾輩は猫である"; + book.author = "夏目漱石"; + book.price = 800; + + System.out.println(book.title); + System.out.println(book.author); + System.out.println(book.price); + } + +}