Which of the following inheritance types is directly supported by Python?

Options

  • A. Single inheritance only
  • B. Multiple inheritance only
  • C. Both single and multiple inheritance
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. Both single and multiple inheritance

Detailed Explanation

Python supports single, multiple, multilevel, hierarchical and hybrid inheritance.