SyntaxFix
Write A Post
Hire A Developer
Questions
A subclass does not inherit the private members of its parent class. However, if the superclass has public or protected methods for accessing its private fields, these can also be used by the subclass.