Computer Science, asked by vasims2131, 9 months ago

Private members are inherited by a derived class .
FALSE
TRUE​

Answers

Answered by shanooo
1

Answer:

false

Explanation:

Its only difference occurs in fact with inheritance: When a class inherits another one, the members of the derived class can access the protected members inherited from the base class, but not its private members. ... With protected , all public members of the base class are inherited as protected in the derived class.

if u agree plz vote

Answered by chiyabhatt456
1

Explanation:

Base class cannot acces dervied class members since it does not have any knowledge of the dervied class. Therefore the answer will be FALSE

Similar questions