Question: You will achieve the learning objectives mentioned above by performing the following 1 5 activities: Modify the name attribute so that it is private in

You will achieve the learning objectives mentioned above by performing the following 15 activities:
Modify the name attribute so that it is private in the GeometricShape class. (LO2)
Modify the length attribute so that it is private in the Rectangle class. (LO2)
Modify the width attribute so that it is private in the Rectangle class. (LO2)
Modify the semi_major_axis attribute so that it is private in the Ellipse class. (LO2)
Modify the semi_minor_axis attribute so that it is private in the Ellipse class. (LO2)
Implement the get_name method in the GeometricShape class. (LO3)
Implement the set_name method in the GeometricShape class. (LO3)
Implement the get_width method in the Rectangle class. (LO3)
Implement the set_width method in the Rectangle class. (LO3)
Implement the get_length method in the Rectangle class. (LO3)
Implement the set_length method in the Rectangle class. (LO3)
Implement the get_semi_major_axis method in the Ellipse Class. (LO3)
Implement the set_semi_major_axis method in the Ellipse Class. (LO3)
Implement the get_semi_minor_axis method in the Ellipse Class. (LO3)
Implement the set_semi_minor_axis method in the Ellipse Class. (LO3)

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 Programming Questions!