+ 1
Private inheritance
If base class X has an attribute int a as private and i have class Y inherited from class X , how do i initialize a in Y’s constructor in the initialization list.
2 odpowiedzi
0
does this manipulation overshadows the value of a in the base class X?
0
okay ty