4段階目(EmployeeDataクラスの型を作ろう)
This commit is contained in:
15
em-oop/src/EmployeeData.java
Normal file
15
em-oop/src/EmployeeData.java
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
public class EmployeeData {
|
||||
String idEmployee;
|
||||
String nmEmployee;
|
||||
String knEmployee;
|
||||
String mailAddress;
|
||||
String password;
|
||||
String idDepartment;
|
||||
|
||||
void showInfo() {
|
||||
System.out.println(this.idEmployee + "\t" + this.nmEmployee
|
||||
+ "\t" + this.knEmployee + "\t" + this.mailAddress
|
||||
+ "\t" + this.password + "\t" + this.idDepartment);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user