Standard Template Library (STL) Question:
Download Job Interview Questions and Answers PDF
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
Download Standard Template Library (STL) Interview Questions And Answers
PDF
Previous Question | Next Question |
What are you now programming Languages C+? | What is sorted linked list? |