Question
a.
Base, derived, derived
b.
Derived, Derived, Derived
c.
Base, derived, base
d.
Base, base, derived
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Virtual function is ______ class function which expected to be redefined in ______ class, so that when reference is made to derived class object using pointer then we can call...
Similar Questions
Discover Related MCQs
Q. What does a virtual function ensure for an object, among the following?
View solution
Q. Virtual functions are mainly used to achieve _____________
View solution
Q. Which keyword is used to declare virtual functions?
View solution
Q. Where the virtual function should be defined?
View solution
Q. The resolving of virtual functions is done at ______________
View solution
Q. In which access specifier should a virtual function be defined?
View solution
Q. Virtual functions can never be made _______________
View solution
Q. Virtual functions can’t be made friend function of other classes.
View solution
Q. Which is must condition for virtual function to achieve runtime polymorphism?
View solution
Q. Which among the following is true for virtual functions?
View solution
Q. The virtual functions must be declared and defined in _____________ class and overridden in ___________ class.
View solution
Q. It is __________ to redefine the virtual function in derived class?
View solution
Q. Which among the following best defines the abstract methods?
View solution
Q. Which among the following is true ?
View solution
Q. How are abstract functions different from the abstract functions?
View solution
Q. It is _________________________ to define the abstract functions.
View solution
Q. The abstract function definitions in derived classes is enforced at _________
View solution
Q. What is this feature of enforcing definitions of abstract function at compile time called?
View solution
Q. What is the syntax for using abstract method?
View solution
Q. If a function declared as abstract in base class doesn’t have to be defined in derived class then ______
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!