Employee Salary Calculation System
Employee Salary Calculation System
Objective:
In this assignment, you will implement a Python program to model different types of employees in a
company. The system should calculate salaries based on the employee type, with each type of
employee having a different salary structure.
Task Description:
You are required to create an abstract class named Employee, which will define common methods that
all employee types must implement. You will then create subclasses of Employee representing
different employee types, such as Full-Time Employees, Part-Time Employees, and Interns.
Instructions:
Define an abstract base class Employee that includes the following abstract methods:
Create Employee Instances and display their details, salary, and work.
Ensure that the program uses the abstract base class properly, and make sure no instance of
Employee can be created directly, as it is an abstract class.
Example Output:
Salary: $60000
Salary: $500
Code Structure:
Implement the abstract methods for each subclass based on the specifics of the employee type.
Create Employee Instances and display their details, salary, and work.