1日目_段階4
This commit is contained in:
@@ -1,20 +1,22 @@
|
||||
|
||||
public class EmployeeData {
|
||||
public static void main(String args[]) {
|
||||
String idEmployee;
|
||||
String nmEmployee;
|
||||
String knEmployee;
|
||||
String mailAddress;
|
||||
String password;
|
||||
String idDepartment;
|
||||
}
|
||||
|
||||
// public EmployeeData() {
|
||||
// this.idEmployee = "";
|
||||
// public static void main(String args[]) {
|
||||
|
||||
String idEmployee ;
|
||||
String nmEmployee ;
|
||||
String knEmployee ;
|
||||
String mailAddress ;
|
||||
String password ;
|
||||
String idDepartment ;
|
||||
|
||||
|
||||
// public String Employee(String idEmployee) {
|
||||
// this.idEmployee= idEmployee;
|
||||
// }
|
||||
|
||||
public void showinfo() {
|
||||
System.out.println();
|
||||
// this.idEmployee = idEmployee;
|
||||
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