Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In python If you could comment what's happening that would be great! Create a person class, then makes two classes, Student and Instructor, that inherit

In python

If you could comment what's happening that would be great!

Create a person class, then makes two classes, Student and Instructor, that inherit from Person. A student has a major, a GPA, and classification Freshmen, sophomore, junior and senior. An instructor has a salary, degree BA, MS, PhD and department CIS, CSC, CNG

Supply a separate test program that tests these two classes and all the methods. You must create 2 different objects of each class for testing.

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions