Advertisements
Advertisements
प्रश्न
A method with many definitions is called:
विकल्प
Multiple method
Method overloading
Floating method
None
MCQ
उत्तर
Method overloading
Explanation:
Method overloading is the ability to declare numerous methods with the same name but distinct parameters (number, type, or both). This allows the same method name to do many functions depending on the input.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?