Difference between Overloading and Overriding?
Answer Posted / kailash joshi
overloading : class a { volume(int a,int b)
}
class b { public volume(int a,int b,int c)
}
"different signatures"
overriding : class a { public volume(int a,int b)
}
class b { public volume(int a,int b,int c)
}
"same signatures";
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are move semantics?
What size is allocated to the union variable?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
Does c++ support exception handling?
Explain what is polymorphism in c++?
Why use of template is better than a base class?
What are keywords in c++?
What do you mean by enumerated data type?
Can notepad ++ run c++?
What is an overflow error?
Array base access faster or pointer base access is faster?
Explain about vectors in c ++?
Difference between pointer to constant and constant pointer to a constant. Give example.
Is c++ a low level language?