Question: C++ HELP 10) Access to parent class data can be tricky. A descendant can access their parent's private data by using a(n) method of the

C++ HELP

C++ HELP 10) Access to parent class data can be tricky. Adescendant can access their parent's private data by using a(n) method of

10) Access to parent class data can be tricky. A descendant can access their parent's private data by using a(n) method of the parent class. Data which isin the parent, on the other hand, can be accessed directly. Of course, anything which was public in thecan also be accessed. The difference with protected data is that it can only be accessed the hierarchy. A) accessor, private, sibling, outside B) accessor, protected, parent, at or below its declaration in C) class, [just blank], program, at or above its declaration in D) mutator, declared, ancestor, at or below its declaration in E) private, public, child, inside 11) Software engineering has two terms to describe the C++ ideas of inheritance and composition. State each term and describe what is meant by each briefly. 12) TRUE/FALSE Inheritance applies to all member variables and non-constructor-like methods. TRUE/ FALSE Any friends of a class are not inherited by its descendants. TRUE FALSE These rules apply to operator functions, too. TRUE/FALSE Function objects, however, cannot participate in inheritance at all

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!