5. |
In public inheritance:
|
|
A.
|
all members of the base class are inherited and are made public
|
|
B.
|
members of the base class that are not private are inherited and retain their access types
|
|
C.
|
all members of the base class are inherited and retain their access types
|
|
D. |
only public members of the base class are inherited and they remain public
|