Advertisements
Advertisements
प्रश्न
State whether the following is function overloading or not. Explain why or why not.
def(x,y,z)
def(e,f)
स्पष्ट करा
Advertisements
उत्तर
Function overloading (in languages that support it).
The two functions have different signatures because one has three parameters and the other has two parameters. However, in Python, the later definition will overwrite the earlier one.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
