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 are constructors in oop?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Write a c++ program to display pass and fail for three student using static member function
What is stream in oop?
What is polymorphism in oops?
What is abstraction in oop?
What is object and class in oops?
Can enum be null?
What is overloading in oops?
Can abstract class have normal methods?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is destructor oops?
What exactly is polymorphism?
What is difference between abstraction and encapsulation?
What are classes oop?