☑Kizspy.me
import java.util.List;
public interface IEmployee Management {
}
public int f1(List<Employee> Ist);
public void f2(List<Employee> Ist);
public void f3(List<Employee>Ist);
Write a class named Employee Management, which implements the interface IEmployee Management.
The class EmployeeManagement implements methods f1, f2, f3 in IEmployeeManagement as below
(you can add other functions in EmployeeManagement class):
•
f1: Total salary of elements with name begins with "Ng" (case-sensitive).

f2: Find all Managers have lowset salary and adding "X" at beginning of their name
• f3: Suppose the list contains at least 7 elements. Sort the first 3 elements descendingly and last 3
elements ascendingly by salary.
When running, the program will add some data to the list. Sample output might look something like:
Add how many Manager elements:0
Zoom
1. Test f1 (1 mark)
+ 89%
Close