Difference between Overloading and Overriding?
Answer Posted / gaurav rawat
* in overloading function name are same but signatures
(argument) are different .
while in overriding function name are as well as argument
are same in drive class as in super class.
* for overloading can be done in one class but
for overriding there is necessary that at least two class
should be present.
Is This Answer Correct ? | 101 Yes | 24 No |
Post New Answer View All Answers
Why do we use setw in c++?
What is binary object model?
What is the size of a vector?
What is the main purpose of c++?
What is private inheritance?
How is c++ different from java?
What is the extension of c++?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
What is linked list in c++?
In a function declaration what does extern means?
Why is c++ a mid-level programming language?
Why do we need runtime polymorphism in c++?
Explain the concept of copy constructor?