Assume ContractEmployee, HourlyEmployee, CommissionEmployee, FixSalaryEmployee are sub-classes of Employee class. Define the body of below method suchthat it shall print how many employees of each type the ArrayList object passed as parametercontains?
Static void countAndPrintAllTypesOfEmployee (ArrayList employees) {
}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here