function overridind means and simple program
Answers were Sorted based on User's Feedback
Answer / rekha
many times child class wants to modify the functionality
exposed by base class.It means child classesare interested
in overriding some functionality of base class in order to
achieve different behavior
function overriding means having functions with same name
with same signature but in parent child relationship different
implementation
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / preetha
the function overloading is the technique in which you can make the function with more than one name but only if you will change the paramaters or the number of the paramaters.
| Is This Answer Correct ? | 1 Yes | 0 No |
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
What do you mean by overloading?
2. Give the different notations for the class.\
c++ program to swap the objects of two different classes
What are the 3 pillars of oop?
Why do we use encapsulation in oops?
What is Hashing and how is it done? Pictorial form?
what is the sylabus for priliminaries?
Out of 4 concepts, which 3 C++ Follow?
What is difference between data abstraction and encapsulation?
write a short note on Overloading of Binary Operator?
What causes polymorphism?