Python · OOP: Properties, Methods & Data Classes
What does this print? ``` class C: x = 10 p = C(); q = C() p.x = 99 print(q.x, C.x) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
Free to start — download the app or use it in your browser.