Certified Associate in Python Programming (PCAP-31-03) — Question 104

What is true about the __bases__ property?

Answer options

Correct answer: C

Explanation

The correct answer is C because the __bases__ property is specifically used to retrieve the base classes of a class and is only accessible within the class itself. Options A and D are incorrect because they misstate the existence and access level of the __bases__ property, and option B is incorrect because it suggests that the property can be accessed from objects, which it cannot.