Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design and write a class named Employee that inherits the Person class from the previous exercise and holds the following additional data: ID number, department

Design and write a class named Employee that inherits the Person class from the previous exercise and holds the following additional data: ID number, department and job title. Once you have completed the Employee class, write a Python program that creates three Employee objects to hold the following data:

Name ID Number Department Job Title Phone
Susan Meyers 47899 Accounting Vice President 212-555-1212
Mark Jones 39119 IT Programmer 212-555-2468
Joy Rogers 81774 Operations Engineer 212-555-9753

The Python program should store this data in the three objects and then display the data for each employee on the screen.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions