Advertisements
Advertisements
Question
A method with many definitions is called:
Options
Multiple method
Method overloading
Floating method
None
MCQ
Solution
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
Is there an error in this question or solution?