Difference between Overloading and Overriding?

Answer Posted / rajnish gupta

Overloading can be used with in same class as well as
inharitance, but overriding is used only in inharitance.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is endianness?

624


How many standards of c++ are there?

628


What are vectors used for in c++?

625


What is class in c++ with example?

572


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2297






What is a syntax in c++?

609


Define namespace in c++?

652


Do you know the use of vtable?

637


What is std :: endl?

596


Why do we use setw in c++?

647


How do I download c++?

573


What is a static element?

577


Write about the access privileges in c++ and also mention about its default access level?

619


What is token c++?

586


Explain what are the sizes and ranges of the basic c++ data types?

644