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
What is c++ programming language?
What is a singleton c++?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
What are the two types of polymorphism?
What is #include cmath?
Write a function that swaps the values of two integers, using int* as the argument type?
Is nan a c++?
Difference between delete and free.
Why do we use double in c++?
write a programme to get a character and thier ASCII value
What are the uses of static class data?
What is an inline function in c++?
What is iterator c++?
what are the types of Member Functions?
What is flush () in c++?