Standard Template Library (STL) Question:
Download Questions PDF

Explain method overloading?

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

Download Standard Template Library (STL) Interview Questions And Answers PDF

Previous QuestionNext Question
What are you now programming Languages C+?What is sorted linked list?