Difference between Overloading and Overriding?
Answer Posted / shivanand
The main difference between overloading and overriding is
that in overloading we can use same function name with
different parameters for multiple times for different tasks
with on a class.
and overriding means we can use same name fiunction name
with same parameters of the base class in the derived class.
this is also called as reusability of code in the programme.
Is This Answer Correct ? | 312 Yes | 67 No |
Post New Answer View All Answers
State the difference between delete and delete[].
You want to link a c++ program to c functions. How would you do it?
Describe Trees using C++ with an example.
How to implement is-a and has-a class relationships?
What is a static element?
what Is DCS ? what i will get benefit when i did?
What are the various arithmetic operators in c++?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
How many types of scopes are there in c++?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
What are the differences between malloc() and calloc()?
If there are two catch statements, one for base and one for derived, which should come first?
What are single and multiple inheritances in c++?
What do you mean by translation unit?
What's the most powerful programming language?