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
What is the full form of oops?
Why is there no multiple inheritance?
What is the advantage of oop over procedural language?
Why we use classes in oop?
What is the difference between encapsulation and polymorphism?
class type to basic type conversion
Where You Can Use Interface in your Project
Why it is called runtime polymorphism?
What is destructor oops?
Why oops is important?
What is the difference between static polymorphism and dynamic polymorphism?
What are the benefits of oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is methods in oop?
What are oops functions?