Please review the Employee.java program. public class Employee { private String name; private double salary; public Employee (String aName, double aSalary) { name = aName; salary = aSalary; } public String getName() { return name; } public double getSalary() { return salary; } } Construct 5 employees with different names and salaries Store these 5 employees in an ArrayList Search the ArrayList and output the employee with the highest salary and the employee with the lowest salary
Get Free Quote!
256 Experts Online