Overriding a super class's instance variables

inheritance, java

Solution

Because if you changed the implementation of a data member it would quite possibly break the superclass (imagine changing a superclass's data member from a float to a String).

Problem

Why are we not able to override an instance variable of a super class in a subclass?

Original source