1 2 3 4 5 6 7
|
empArray[0] = Employee(1, "John Tan", "12/09/1987", "Yishun", "98765432", "johntan@yahoo.com", 1, 2300.0);
empArray[1] = Employee(2, "Pierre Png", "13/04/1984", "Bedok", "91234567", "pierrepng@yahoo.com", 2, 4000.0);
empArray[2] = Employee(3, "Rose Lau", "17/03/1999", "Pasir Ris", "98674646", "rosly@gmail.com", 3, 1700.0);
empArray[3] = Employee(4, "Vincent Tan", "28/07/1986", "Braddel", "98787878", "vincenttan@live.com", 4, 3600.0);
empArray[4] = Employee(5, "Kelvin Lau", "16/03/1976", "Punggol", "90909093", "kelvinlau@gmail.com", 5, 5000.0);
empArray[5] = OrdinaryEmployee(6, "Ronald Toh", "10/09/1967", "Yee Tew", "90909898", "ronaldtoh@live.com", 6, 6000.0, 20.0, 3.0, 20000);
empArray[6] = OrdinaryEmployee(7, "Eric Kwek", "09/09/1983", "Orchard", "91234123", "erickwek@live.com", 7, 7000.0, 30.0, 4.0, 30000);
|