what is a virtual class?
Answer Posted / ritesh parkhi
Virtual class in a part or used to implement Runtime
polymorphism.Through it dynamically we can access a class or
method of that class.With use of Pointer to base class we
can implememt it.We try to access object of any class
without regarding their class.We are passing object address
in this base class pointer to access a particulat method of
a class at runtime.
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is encapsulation in simple terms?
Why is polymorphism used?
What do you mean by variable?
What is protected in oop?
Why is oop better than procedural?
#include
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is polymorphism give a real life example?
How does polymorphism work?
How to call a non virtual function in the derived class by using base class pointer
How can you overcome the diamond problem in inheritance?
What is polymorphism and types?
What is oops in simple words?
Which is better struts or spring?