HRSystem_5/src/Organization/CompanyDatabase.java
// This method displays all salaries of employees in the company
This method displays all salaries of employees in the company
This method displays all salaries of employees in the company
public void displayAllEmployeeEarnings () {
        for(Employee emp : empList){ 
            System.out.printf("\nCalcEarnings: " + emp.calcEarnings()+"\nFor: " + emp +"\n");
        }       
    }
public void displayAllEmployeeEarnings ( ) { for ( Employee emp : empList ) { System . out . printf ( "\nCalcEarnings: " + emp . calcEarnings ( ) + "\nFor: " + emp + "\n" ) ; } }
This method displays all salaries of employees in the company
This method displays all salaries of employees in the company
// this is ternary notation simlyfying a typical for loop.