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


Please Help Members By Posting Answers For Below Questions

What is the benefit of oop?

648


What is advantage of inheritance?

777


Why polymorphism is used in oops?

669


What is this pointer in oop?

651


What does enum stand for?

705






What is polymorphism and its types?

691


Explain the advantages of inheritance.

758


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2101


What is static modifier?

710


What is the difference between procedural programming and oops?

648


What is object-oriented programming? Webopedia definition

835


What is interface? When and where is it used?

1756


What are the types of abstraction?

643


What is oops?what is its use in software engineering?

631


What is inheritance in oop?

682