Answer Posted / prabhakar
defining a function with a same name with differ in number of arguments r return type r tpe of arguments in one class is called funstion overloading.
for example
class base
{
public:
fun(int a,int b);
fun(char a,char b);
}
above two functions are diffrer in type of arguments.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you answer polymorphism?
What is the significance of classes in oop?
What are the data types in oop?
What are objects in oop?
What is methods in oop?
What does enum stand for?
What does and I oop and sksksk mean?
What is class in oop with example?
Explain the concepts involved in Object Oriented programming.
What are functions in oop?
What is destructor oops?
What is coupling in oops?
How do you explain polymorphism?
any one please tell me the purpose of operator overloading
What is difference between polymorphism and inheritance?