While studying for the SCJP 6 exam, I ran into this question in a test exam:
What's the output??
The output here is "a b b a"
I perfectly understand "a b b", but don't understand the "a" at the end. If you inherit a method (in this case, B inherits getStaticProperty() from A), and that method returns a static variable from the parent (staticProperty), which you re-define in the child, you will ALWAYS use the parent static variable value??