What is method overloading?

Last Updated :
Discuss
Comments

What is method overloading?


Two methods with the same name and parameters

Two methods with the same name but different parameters

Two methods with the same name but different return types

Defining methods inside a loop


Share your thoughts in the comments