Ok, I am really stuck in this one.....
I bumped into this on Enthuware Standard
Test 1
I cannot undestand this at all..
So I know that when applying
polymorphism, the methods are from the subclass and the variables from the superclass.
So far so good.
I understand everything until this point.
Then this happens:
and prints out:
Why??? Shouldn't it output:
???
Why does the SubClass 5 go first???