Doniaelshenwy / Salary

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doniaelshenwy/Salary Stargazers