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,
6 months ago
Science,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Science,
1 year ago