Well done!
You have completed Understanding Classes, Instances, and Attributes in Object-Oriented Programming Quiz!
Quiz Question 1 of 5
Suppose the Rectangle
class was modified to include a class attribute shape_type = "Quadrilateral"
. How can the shape_type
attribute be accessed by an instance of the class, and what would be its value?
Choose the correct answer below: