Question: If the member variables in a base class are private, then you must declare them in the derived class also. making them private causes a

If the member variables in a base class are private, then
you must declare them in the derived class also.
making them private causes a syntax error.
they can be directly accessed or changed in the derived
the derived class must use any accesssor or modifier fun class
 If the member variables in a base class are private, then

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!