Difference between Overloading and Overriding?
Answer Posted / yesha
OVERLOADING MEANS WE CAN USE SAME FUNCTION NAME WITH DIFFERENT ARGUMENT IN FUNCTION OVERRIDING WE CAN ONLY USE SAME NAME OF THE FUNCTION AND SAME ARGUMENT BUT IN A DIFFERENT CLASS BECAUSE COMPILER WILL NOT CONFUSED
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a constant? Explain with an example.
Why cout is used in c++?
If you don’t declare a return value, what type of return value is assumed?
Which is the best c++ compiler for beginners?
What is algorithm in c++ programming?
How do I download c++?
What are structures and unions?
How is c++ different from java?
What are the defining traits of an object-oriented language?
What is data hiding c++?
Define copy constructor.
What is the two main roles of operating system?
What is null and void pointer?
What is binary search in c++?
How to declare a pointer to an array of integers?