Skip to content

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

Notifications You must be signed in to change notification settings

Doniaelshenwy/Salary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

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

No packages published

Languages