Question
In C++, to achieve runtime polymorphism, a base class
method must be declared with which keyword?Solution
In C++, for a method to be overridden polymorphically (i.e., for dynamic dispatch to occur), the base class method must be declared as virtual. If it's not virtual, the method call will be resolved at compile time based on the pointer/reference type, not the actual object type.
A metal plate with a circular hole at the centre is heated. What will happen to the area of the hole?
What is used in cloud seeding to produce artificial rain?
Which of the following is a flightless bird?
Which one among the following statements about blood transfusion is correct?
Blood group B can give blood toÂ
What is the unit of electric current?
Electrostatic precipitator is used to control —
What is the main cause of emphysema? Â
Which of the following vitamin contains Cobalt?
When Mendel crossed a tall pes plant with a short pea plant, only tall plants were produced. Of these progeny F1  plants, ______ had dissimilar factor...
Two blocks of unequal mass are connected by a string and placed on a smooth horizontal surface. A force F is applied on the heavier block. The tension i...