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?
What are classes oop?
Can we create object of abstract class?
Which language is pure oop?
How to improve object oriented design skills?
What is the significance of classes in oop?
What is overriding in oops?
What is inheritance and how many types of inheritance?
What is object in oop with example?
What is the difference between encapsulation and polymorphism?
Is this job good for future? can do this job post grduate student?
Why is static class not inherited?
write a program to find 2^n+1 ?
What is class and object in oops?
#include