You have one base class virtual function how will call that
function from derived class?
Answer Posted / kalaivani
u can call the base class virtual fn,if it is declare as
public
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of polymorphism?
What is multilevel inheritance explain with example?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Why do we use oop?
What is a class oop?
What is overloading in oop?
Can bst contain duplicates?
What are the 4 pillars of oop?
what type of questions
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 coupling in oops?
How do you achieve polymorphism?
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?
What is overriding in oops?
How do you define social class?