Advertisements
Advertisements
प्रश्न
State whether the following is function overloading or not. Explain why or why not.
def (a,b):
def(x,y) :
स्पष्ट कीजिए
Advertisements
उत्तर
Not function overloading.
Both functions have the same function signature because each has two parameters. Changing only parameter names from (a, b) to (x, y) does not create an overloaded function.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
