Question: 2 . 9 LAB: Course information ( derived classes ) Define a Course base class with the following attributes: number - course number title -

2.9 LAB: Course information (derived classes)
Define a Course base class with the following attributes:
number - course number
title - course title
Define a print_info() method in Course that displays the course number and title.
Also define a derived class OfferedCourse with the additional attributes:
instructor_name - instructor name
location - class location
class_time - class time

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!