R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is method overloading in Python?

  • (A) Multiple classes with same name
  • (B) Defining multiple functions with same name and parameters
  • (C) Defining multiple methods with the same name but different parameters
  • (D) Defining one method only
  • Correct Answer - Option(C)
  • Views: 22
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma
Python does not support method overloading directly, but this is the general definition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.