Difference between Overloading and Overriding?
Answer Posted / swetcha
Overloading - Two functions having same name and return
type, but with different type and/or number of arguments.
Overriding - When a function of base class is re-defined in
the derived class.
Is This Answer Correct ? | 850 Yes | 105 No |
Post New Answer View All Answers
What is a c++ class?
How to declare an array of pointers to integer?
What is low level language in simple words?
Are vectors passed by reference c++?
Keyword mean in declaration?
When do we run a shell in the unix system?
Can we make copy constructor private in c++?
Why do we use pointers in c++?
What is virtual function? Explain with an example
What is the main purpose of overloading operators?
What is name hiding in c++?
What is the sequence of destruction of local objects?
What are the five basic elements of a c++ program?
What is srand c++?
Which is best c++ or java?