Standard Template Library (STL) Question:
Explain method overloading?
Answers:
Answer #1Method overloading is to overload methods using same class
name by writing different parameters.This is called Method
Overloading.
name by writing different parameters.This is called Method
Overloading.
Answer #2The methods which have same name, but different parameters. And return type not considered for overloading. Different parameters means number of parameters and types of parameters
Previous Question | Next Question |
What are you now programming Languages C+? | What is sorted linked list? |