Computer Science, asked by rahuly2050, 10 months ago

Are the private variables and private methods of a parent class inherited by the child class?

Answers

Answered by satakshiaggarwal9
0

No , they cannot be inherited only public and protected can be inherited.

Similar questions