Question: If classA includes aprivate variable n a protected variable m, and a public variable k, and clasB is derived from classA which of these variables

 If classA includes aprivate variable n a protected variable m, and

If classA includes aprivate variable n a protected variable m, and a public variable k, and clasB is derived from classA which of these variables can be used in classB? Cann become private in classB? protected? public? How about variables m and k? Does it make a difference whether the derivation of classB was private, protected, or public

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!