2日目段階9完了しました
This commit is contained in:
@@ -68,7 +68,7 @@ public class EmployeeData extends BaseDate {
|
||||
public EmployeeData() {
|
||||
empCount++;
|
||||
}
|
||||
|
||||
//
|
||||
public EmployeeData(String idEmployee, String nmEmployee, String knEmployee, String mailAddress, String password,
|
||||
String idDepartment) {
|
||||
idEmployee = idEmployee.trim();
|
||||
|
||||
@@ -11,16 +11,16 @@ public class Main {
|
||||
employee[3] = new EmployeeData("10003", "丸戸章介", "マルトショウスケ", "marusyo@hoge.jp", "ddd", "13");
|
||||
employee[4] = new EmployeeData("10004", "三宅武", "ミヤケタケシ", "miya@hoge.jp", "eee", "14");
|
||||
|
||||
// for (int i=0; i<=4; i++ ) {
|
||||
// System.out.println(employee[i]);
|
||||
// }
|
||||
// int i=EmployeeData.getEmpCount();
|
||||
// System.out.println("現在の社員データ件数;"+ i + "件");
|
||||
//
|
||||
// System.out.println(employee[0].toCSV());
|
||||
// System.out.println(employee[0].getPrimaryKeyValue());
|
||||
String str="";
|
||||
while(!str.equals("0")){
|
||||
for (int i=0; i<=4; i++ ) {
|
||||
System.out.println(employee[i]);
|
||||
}
|
||||
// int i=EmployeeData.getEmpCount();
|
||||
// System.out.println("現在の社員データ件数;"+ i + "件");
|
||||
|
||||
System.out.println(employee[0].toCSV());
|
||||
System.out.println(employee[0].getPrimaryKeyValue());
|
||||
String str = "";
|
||||
while (!str.equals("0")) {
|
||||
System.out.println("検索したい社員IDを入力してください(終了する場合は0)");
|
||||
Scanner sc = new Scanner(System.in);
|
||||
str = sc.nextLine();
|
||||
|
||||
Reference in New Issue
Block a user