I come to you with a simple OOP question. Let's say there are three classes - A, B and C. B and C both inherit a static variable from A. Let's also say that A defines the value of this variable as being 0. Let's say that both B and C modify the value of this static variable. My question is this - since static variables remain constant across members of the same class, does this mean that setting the value of a variable of a superclass from a subclass will have no effect on the value of the super class?
In other words, if we change the value of B's variable to 1, that value will only be 1 for objects of class B and not C or A?