what is a virtual class?
Answer Posted / raj
In multiple inheritance when a class D is derived by two
base classes B and C and both base class is also inherite
by same class A then then class D will get duplicate copy
of uppper most base class A.In this case class A will
declare as virtual class
| Is This Answer Correct ? | 41 Yes | 5 No |
Post New Answer View All Answers
What is oops and why we use oops?
Can we override main method?
What is difference between pop and oop?
What is destructor give example?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is protected in oop?
What polymorphism means?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Write a c++ program to display pass and fail for three student using static member function
What are the benefits of polymorphism?
What is new keyword in oops?
can inline function declare in private part of class?
what are the different types of qualifier in java?
Why do while loop is used?