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 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
Get step-by-step solutions from verified subject matter experts
