-
Notifications
You must be signed in to change notification settings - Fork 0
create a class Person which have a getSalary function which take an int parameter and return int . Create class Manager and Employee that inherit from Person and override getSalary method. getSalary method of Employee = Salary * 2 and getSalary method of Manager= Salary * 5
Doniaelshenwy/Salary
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
About
create a class Person which have a getSalary function which take an int parameter and return int . Create class Manager and Employee that inherit from Person and override getSalary method. getSalary method of Employee = Salary * 2 and getSalary method of Manager= Salary * 5
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published