Why open property is initialized in superclass even when it is overrided by a subclass?

But why doesn’t compiler know the child has a parent?