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

This repository is not active

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


Languages

Language:Swift 100.0%