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
Why c++ is faster than java?
What is the difference between prefix and postfix versions of operator++()?
What is the use of cmath in c++?
What is c++ and its uses?
How is c++ different from java?
What is c++ stringstream?
Difference between struct and class in terms of access modifier.
what is C++ exceptional handling?
Explain the static member function.
What are c++ stream classes?
If dog is a friend of boy, is boy a friend of dog?
Show the application of a dynamic array with the help of an example.
Explain what are accessor methods?
Why the usage of pointers in C++ is not recommended ?
How do you initialize a string in c++?