Python · OOP: Properties, Methods & Data Classes
What does this print? ``` class C: @property def area(self): return self.w * self.h c = C(); c.w, c.h = 3, 4 print(c.area) print(c.area()) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
