menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    C++ How to Program
  4. Exam
    Exam 11: Object-Oriented Programming: Inheritance
  5. Question
    Protected Base Class Members Cannot Be Accessed By
Solved

Protected Base Class Members Cannot Be Accessed By

Question 2

Question 2

Multiple Choice

Protected base class members cannot be accessed by:


A) Functions that are neither friends of the base class, derived-class member functions nor friends of a derived class.
B) friends of the base class.
C) Functions that are not derived-class member functions.
D) friends of derived classes.

Correct Answer:

verifed

Verified

Related Questions

Q1: When an object of a derived class

Q3: Assuming the definition, class BasePlusCommissionEmployee : public

Q4: Which of the following is not one

Q5: Which of the following is most likely

Q6: Which of the following is not a

Q7: When deriving a class from a protected

Q8: Which of the following statements about inheriting

Q9: Select the false statement regarding inheritance.<br>A) A

Q10: When should base class members be declared

Q11: The is-a relationship represents.<br>A) Composition.<br>B) Inheritance.<br>C) Information

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