menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    C++ How to Program
  4. Exam
    Exam 12: Object-Oriented Programming: Polymorphism
  5. Question
    Virtual Functions Must
Solved

Virtual Functions Must

Question 8

Question 8

Multiple Choice

Virtual functions must:


A) Be overridden in every derived class.
B) Be declared virtual in every derived class.
C) Be declared virtual in the base class.
D) Have the same implementation in every derived class.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Q3: If objects of all the classes derived

Q4: [C++11] In C++11, you can tell the

Q5: Which of the following statements about polymorphism

Q6: Which of the following statements about virtual

Q7: Which of the following is not allowed?<br>A)

Q9: Problems using switch logic to deal with

Q10: An abstract class will:<br>A) Have all zero

Q11: Downcasting enables:<br>A) A derived-class object to be

Q12: Which of the following statements is true?<br>A)

Q13: The main difference between a pure virtual

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines