Answer Posted / mona kawale
when there are two same classes in derived and base class then at the tym of running programm compiler get confuse about which function should b call first so it call derived class function automatically....but if we wrote base class function as virtual function then compiler will not get confuse.....
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is new keyword in oops?
Is enum a class?
Whats is abstraction in oops?
what is graphics
What is the advantage of oop over procedural language?
Templates mean
What is difference between abstraction and encapsulation?
What is the difference between inheritance and polymorphism?
Plese get me a perfect C++ program for railway/airway reservation with all details.
class type to basic type conversion
What is polymorphism in oop example?
What is the problem with multiple inheritance?
What is the main feature of oop?
Why it is called runtime polymorphism?
What are oops methods?