Make a class Employee with a name and salary. Make a class Manager inherit from Employee. Add an instance variable, named department, of type String. Supply a method toString that prints the manager's name, department, and salary. Make a class Executive inherit from Manager. Supply appropriate toString methods for all classes. Supply a test program that tests these classes and methods.

Complete the following files:

Employee.java

EmployeeTester2.java

Executive.java

Manager.java

Use the following file:

EmployeeTester.java

/**
   This program tests the Employee class and its subclasses.
*/
public class EmployeeTester
{  
   public static void main(String[] args)
   {  
      Employee e = new Employee("Edgar", 65000);
      Manager m = new Manager("Mary", 85000, "Engineering");
      Executive v = new Executive("Veronica", 105000, "Engineering");
      System.out.println(e);
      System.out.println("Expected: Employee[name=Edgar,salary=65000.0]");
      System.out.println(m);
      System.out.println("Expected: Manager[super=Employee[name=Mary,salary=85000.0],department=Engineering]");
      System.out.println(v);
      System.out.println("Expected: Executive[super=Manager[super=Employee[name=Veronica,salary=105000.0],department=Engineering]]");
   }
}