已读60%
预计阅读本页时间:-
预计阅读本页时间:-
Test Your Knowledge: Quiz
- How are classes related to modules?
- How are instances and classes created?
- Where and how are class attributes created?
- Where and how are instance attributes created?
- What does self mean in a Python class?
- How is operator overloading coded in a Python class?
- When might you want to support operator overloading in your classes?
- Which operator overloading method is most commonly used?
- What are the two key concepts required to understand Python OOP code?