Q. What is polymorphism in Python OOP?

  • (A) Creating many classes
  • (B) Using one function with different data types
  • (C) Inheritance from multiple classes
  • (D) Creating many objects
πŸ’¬ Discuss
βœ… Correct Answer: (B) Using one function with different data types
Explanation: Polymorphism allows functions to work with objects of different types.
Explanation by: Mr. Dubey
Polymorphism allows functions to work with objects of different types.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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