- Make A Class Employee With A Name And Salary Make A Class Manager Inherit From Employee Add An Instance Variable Name 1 (31.8 KiB) Viewed 33 times
Make a class Employee with a name and salary. Make a class Manager inherit from Employee. Add an instance variable, name
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Make a class Employee with a name and salary. Make a class Manager inherit from Employee. Add an instance variable, name
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 to String that prints the manager's name, department, and salary. Make a class Executive inherit from Manager. Supply appropriate to String methods for all classes. Supply a test program that tests these classes and methods Once you upload files from your second device, click on Sync to check your submission