Certified Associate in Python Programming (PCAP) — Question 80
A property that stores information about a given class's super-classes is named:
Answer options
- A. __upper__
- B. __super__
- C. __ancestors__
- D. __bases__
Correct answer: D
Explanation
The correct answer is __bases__, which is the property used to retrieve the base classes of a class in Python. The other options, __upper__, __super__, and __ancestors__, do not exist as properties that store super-class information.