Hello,
If both classes are placed in one unit - there is no problem,the child class inherits private methods from the parent class,but if they are in different units,the class can access only public methods.Why?
The child class can't access private methods only because they are in different units.
How do I avoid this? In my case I have 3 child classes and if I place them all in the unit of the parent class,the result will be extremely big.
How do I make a child class that inherits private methods from the parent class in different units?
Thank you!