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 graphics
Explain virtual inheritance?
What are oops methods?
What is the real life example of polymorphism?
What is encapsulation in oops?
What is constructor overloading in oop?
What do you mean by Encapsulation?
What is polymorphism oop?
What is basic concept of oop?
What is multilevel inheritance explain with example?
What is an advantage of polymorphism?
What are the 4 main oop principles?
What is the benefit of oop?
What does enum stand for?
What is byval and byref? What are differences between them?