Well done!
You have completed Understanding Classes, Instances, and Attributes in Object-Oriented Programming Quiz!
Quiz Question 1 of 5
In the Rectangle
example, if a new method scale()
was added to multiply both length
and width
by a given factor, how would changing the factor for room_1
affect room_3
?
Choose the correct answer below: