Standard Template Library (STL) Question:

Explain method overloading?

Standard Template Library (STL) Interview Question
Standard Template Library (STL) Interview Question

Answers:

Answer #1
Method overloading is to overload methods using same class
name by writing different parameters.This is called Method
Overloading.

Answer #2
The 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 QuestionNext Question
What are you now programming Languages C+?What is sorted linked list?