Variables locally defined in a method can not be accessed from another class.
When a base class's method is overridden the new method can not get the variables defined in the overridden method.