Difference between Overloading and Overriding?
Answer Posted / stephen-pipes afrifa
Overloading: The function name is the same but the
parameters are different or have different signature
Overriding: The member function having the same name and
types of parameters as function in the base class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is c++ the hardest programming language?
What are vtable and vptr?
What are the manipulators in c++?
What are the defining traits of an object-oriented language?
What are the benefits of pointers?
When should we use multiple inheritance?
What is the use of map in c++?
Can user-defined object be declared as static data member of another class?
Explain what are the sizes and ranges of the basic c++ data types?
What is a terminating character in c++?
What is a hashmap c++?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
What is data binding in c++?
How do you establish an is-a relationship?
Describe friend function & its advantages.