This commit is contained in:
2026-10-14 16:57:44 +09:00
parent 79fb30d941
commit 9223c5810c
2 changed files with 33 additions and 0 deletions

View File

@@ -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);
}
}

View File

@@ -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);
}
}