Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 classStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started