I have a class, it has several public
methods that use one private
field that they all changed and use this field in their computations.
I need subclass from this class with few new methods, new methods won't use this field. I expect those methods from the base class behave the same as they did, but a little bit confused that they use private field.
Are private field accessible in the subclass? Should I also declare a field with same type and name in my subclass?