πŸ“Š Python
Q. How is polymorphism achieved in Python?
  • (A) By inheritance only
  • (B) By interfaces
  • (C) By method overriding and duck typing
  • (D) Using @poly decorator
πŸ’¬ Discuss
βœ… Correct Answer: (C) By method overriding and duck typing

Explanation: Python supports polymorphism through method overriding and duck typing.

Explanation by: Mr. Dubey
Python supports polymorphism through method overriding and duck typing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
40
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate