Q. What is true about multiple inheritance in Python?

  • (A) Not supported
  • (B) Only for abstract classes
  • (C) Supported using tuple of parent classes
  • (D) Supported using @inherit decorator
πŸ’¬ Discuss
βœ… Correct Answer: (C) Supported using tuple of parent classes
Explanation: Python supports multiple inheritance using the syntax `class Child(Parent1, Parent2):`.
Explanation by: Mr. Dubey
Python supports multiple inheritance using the syntax `class Child(Parent1, Parent2):`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
101
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate