Question: what does the following mean? class A: public B a . class A will inherit all the non - private members from B without changing
what does the following mean?
class A: public B
a class A will inherit all the nonprivate members from without changing their access method.
b class will inherit all the nonprivate members from A without changining their access method.
c class A will inherit all the nonprivate members from and make them public access.
d class will inherit all the nonprivate members from A and make them public access.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
