Difference between Overloading and Overriding?
Answer Posted / adeel shahid
overriding is done in the base class where the parent class
method is overridden by a method of the same signature.
Overloading is done in the same class on functions with
input parameters differing in number or type.
Is This Answer Correct ? | 98 Yes | 36 No |
Post New Answer View All Answers
Give example of a pure virtual function in c++?
What is static in c++?
Why was c++ created?
What is the protected keyword used for?
How do we implement inheritance in c++?
What is a class template?
What is the full form of ios?
Describe public access specifiers?
What is a virtual destructor? Explain the use of it?
Is there a sort function in c++?
What is vectorial capacity?
Write a program in C++ for Fibonacci series
How many types of comments are there in c++?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
Can we specify variable field width in a scanf() format string? If possible how?