1日目
This commit is contained in:
16
src/main/java/EmployeeData.java
Normal file
16
src/main/java/EmployeeData.java
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
17
src/main/java/em_oop_kawara.java
Normal file
17
src/main/java/em_oop_kawara.java
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user