Question: python3 - Use class Employee, class manger. Refer to the table below, and use method overiding. >>result : name : Kimsung; salary : 2000000;; bonus:
python3 -
Use class Employee, class manger.
Refer to the table below, and use method overiding.
>>result :
name : Kimsung; salary : 2000000;; bonus: 1000000;

Name Salary getSalary() class Employee Represents the name (string) Represents salary integer type) This method returns the salary. Name Salary bonus class Manger Represents the name (string) Represents salary (integer type) Represents a bonus (integer type) Salary & bonus combined returned getSalary() Override method of parent class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
