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
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
What is the best c++ book for beginners?
Why is swift so fast?
Define a nested class.
Explain the benefits of proper inheritance.
What are dynamic type checking?
What are register variables?
Define the process of handling in case of destructor failure?
Explain selection sorting. Also write an example.
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
What is the difference between public and private data members?
Why is it necessary to use a reference in the argument to the copy constructor?
How can you tell what shell you are running on unix system?
Why c++ is so important?
What does n mean in c++?