Answer Posted / naveen goud
It is used to ovveride superclass method.Suppose in super
calss we had a method getEmployee() in the subclass am
overriding it and am giving the new implementation.Means am
just giving new implementation instead of using the same
implementation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is oop useful?
What is the fundamental idea of oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is destructor oops?
What are the 3 pillars of oop?
can inline function declare in private part of class?
Can you inherit a private class?
What is object-oriented programming? Webopedia definition
What is overriding vs overloading?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< They started with the brief introduction followed by few
basic C++ questions on polumorphism, inheritance and then
virtual functions.
What is polymorphims?
How you will access polymorphic functions in C?
How virtual function mechanism works?
What is the real time example of inheritance? Give two or more real cenario of virtual function and
vertual object They started with the brief introduction followed by few
basic C++ questions on polumorphism, inheritance and then
virtual functions.
What is polymorphims?
How you will access polymorphic functions in C?
How virtual function mechanism works?
Write A Program to find the ambiguities in Multiple
Inheritance? How are they
resolved.(Virtual Functions)