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
How do you master coding?
What do you mean by global variables?
Can you please explain the difference between using macro and inline functions?
What is vector string in c++?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
Explain virtual class and friend class.
What is operators in c++?
What are the advantages of c++?
When do we use copy constructors?
How do you print a string on the printer?
What is the use of main function in c++?
When there is a global variable and local variable with the same name, how will you access the global variable?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
What is the type of 'this' pointer?
Which should be more useful: the protected and public virtuals?