Difference between Overloading and Overriding?
Answer Posted / bharathi
overloading is a process of using the same name function in
different places in the same class it can make useful of
reusability and to save the memory to need not write entire
program where we want.here one thing is wirh or without
inheritance we can use overloading.
whereas overriding means having same name and same acess
specifiers,same returntype,same modifiers as same in the
base class.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write my own zero-argument manipulator that should work same as hex?
Define pointers?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
What is the difference between global variables and static varables?
What are pointer-to-members in C++? Give their syntax.
What is std :: endl?
What are punctuators in c++?
Difference between strdup and strcpy?
How do I download c++?
What are advantages of using friend classes?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What relational operators if statements in c++?
What are the classes in c++?
In a function declaration what does extern means?
Define a constructor - what it is and how it might be called (2 methods)?