Find the answer to this question here. Super convenient online flashcards for studying and checking your answers!

(Correct Answer Below)

Reveal the answer to this question whenever you are ready.

If Classa Is Derived From Classb, Then

(a) Public and private members of ClassB are public and private, respectively, in ClassA (b) Public members in ClassB are public in ClassA, but private members in ClassB cannot be directly accessed in ClassA (c) Neither public or private members in ClassB can be directly accessed in ClassA (d) Private members in ClassB are changed to protected members in ClassA
Front

Advertisement

B, What Is Inheritance? and Protected Members

About the flashcard:

This flashcard is meant to be used for studying, quizzing and learning new information. Many scouting web questions are common questions that are typically seen in the classroom, for homework or on quizzes and tests. Flashcards vary depending on the topic, questions and age group. The cards are meant to be seen as a digital flashcard as they appear double sided, or rather hide the answer giving you the opportunity to think about the question at hand and answer it in your head or on a sheet before revealing the correct answer to yourself or studying partner. Some questions will include multiple choice options to show you the options involved and other questions will just have the questions and corrects answers. Simply reveal the answer when you are ready to check your work. Absolutely no cheating is acceptable.