Are the private variables and private methods of a parent class inherited by the child class?
Answers
Answered by
0
No , they cannot be inherited only public and protected can be inherited.
Similar questions
Math,
5 months ago
Computer Science,
10 months ago
Computer Science,
10 months ago
Science,
11 months ago