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
Can a varargs method be overloaded?
How does polymorphism work?
What is pointer in oop?
Why is there no multiple inheritance?
What is difference between abstraction and encapsulation?
What is abstraction in oop with example?
Explain the concepts involved in Object Oriented programming.
What is debug class?what is trace class? What differences are between them? With examples.
Why multiple inheritance is not possible?
What is object-oriented programming? Webopedia definition
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What are the benefits of interface?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is oops?what is its use in software engineering?
What is an interface in oop?