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 the problem with multiple inheritance?
What is the difference between procedural programming and oops?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
How does polymorphism work?
What is encapsulation in simple terms?
Why do we need polymorphism in c#?
What is abstract class in oops?
What are the two different types of polymorphism?
which feature are not hold visual basic of oop?
What do you mean by variable?
What is multilevel inheritance?
What is inheritance in oop?
Templates mean
Write a program to sort the number with different sorts in one program ??
What is the point of polymorphism?