Certified Associate in Python Programming (PCAP) — Question 125
The __bases__ property contains:
Answer options
- A. base class location (addr)
- B. base class objects (class)
- C. base class names (str)
- D. base class ids (int)
Correct answer: B
Explanation
The __bases__ property contains a tuple of base class objects, providing access to the classes from which a class inherits. The other options refer to characteristics that do not accurately describe the __bases__ property, such as locations, names, or IDs, which are not part of what this property returns.