+ 4
In inheritance, must the base class always be "Public"?
9 Answers
+ 3
yes a class can be inherit privately or protected
+ 2
nope it's not necessary!
assuming you are asking that it is must to inherit the base class publicly.
+ 1
hmm
therefore the base class can be "Private" or "Protected" when using it as a base class for a derived one?
+ 1
are you asking is base class can be inherit privately and publicly also?
+ 1
Yes
0
privately and protectively, rather.. yes
0
okay bro. thanks a lot
0
yes
0
No it can be protected or private also.