From 9223c5810c350780ecaaa98309300329d50a3b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=A6=E3=80=80=E6=98=B4=E4=B8=96?= <26-k-kawara-rootship@it-college.co.jp> Date: Wed, 14 Oct 2026 16:57:44 +0900 Subject: [PATCH] =?UTF-8?q?1=E6=97=A5=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/EmployeeData.java | 16 ++++++++++++++++ src/main/java/em_oop_kawara.java | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 src/main/java/EmployeeData.java create mode 100644 src/main/java/em_oop_kawara.java 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); + } + +}