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
    When Deriving a Class from a Protected Base Class, the Public
Solved

When Deriving a Class from a Protected Base Class, the Public

Question 7

Question 7

Multiple Choice

When deriving a class from a protected base class, the public members of the base class become _________ and the protected members of the base class become __________?


A) protected, private
B) public, private
C) protected, protected
D) public, protected

Correct Answer:

verifed

Verified

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

Related Questions

Q2: Protected base class members cannot be accessed

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

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

Q12: Which forms of inheritance are is-a relationships?<br>A)

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