Question: If the member variables in a base class are protected, then Select one: a . they can be directly accessed or changed in the derived

If the member variables in a base class are protected, then
Select one:
a.
they can be directly accessed or changed in the derived class
b.
the derived class must use accesssor or mutator functions from the base class
c.
making them protected causes a syntax error
d.
you must declare them in the derived class also

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 Programming Questions!