Question:You want the data member of a class to be accessed only by itself and by the class derived from it. Which access specifier will you give to the data member?
A Public
B Private
C Protected
D Friend
E Either Public or Friend
+ AnswerC
+ Report