Python Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 18)
18.
What is the role of the
__bases__
attribute in a Python class?
Answer: Option
Explanation:
The
__bases__
attribute is a tuple containing the base classes of a class, allowing you to inspect the inheritance hierarchy.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers