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
What is the benefit of oop?
What is advantage of inheritance?
Why polymorphism is used in oops?
What is this pointer in oop?
What does enum stand for?
What is polymorphism and its types?
Explain the advantages of inheritance.
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is static modifier?
What is the difference between procedural programming and oops?
What is object-oriented programming? Webopedia definition
What is interface? When and where is it used?
What are the types of abstraction?
What is oops?what is its use in software engineering?
What is inheritance in oop?