Hello,
I thought I understand but now I have question Java OCP guide 17 Q22.
The two lines marked with //*, is my question, especially the first one. The second is more to check if my clue is right?
(I have put the comments so that you can more or less follow what and how I think.)
And what I understand, correct me if I'm wrong At compile-time than the reference type is important and at Runtime although it behaves as Child object or not? (polymorphism, right?
Assigning the value to name and t.name is done at run-time, right?
I hope that I have not mixed up (a lot of) things?