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 a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
What is diamond problem in c++?
Which software is best for c++ programming?
Which software is best for coding?
Why is c++ still used?
Is map thread safe c++?
Explain Memory Allocation in C/C++ ?
How do you establish an is-a relationship?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
Difference between pointer to constant and constant pointer to a constant. Give example.
How is objective c different from c++?
What is searching?
What is type of 'this' pointer? Explain when it is get created?
How do you save a c++ program?
When should we use container classes instead of arrays?