what do you mean by method overloading?
what do you mean by method overloading?
Method Overloading is a feature that allows a class to have two or more methods having same name, if their argument lists are different.
In some programming languages, function overloading or method overloading is the ability to create multiple methods of the same name with different implementations. Calls to an overloaded function will run a specific implementation of that function appropriate to the context of the call, allowing one function call to perform different tasks depending on context.
|
Bookmarks