QuestionQ46

Object-Oriented Programming

The property that holds information about a particular class’s superclasses is called:

  • A bases
  • B super
  • C upper
  • D ancestors
Explanation

Python’s type.__bases__ attribute is a tuple containing a class’s base classes (its direct superclasses).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!