1. It doesn't matter whether superType is cast as DefaultSuperType, because it's still a ChildOfSuperType, and the function dispatch table will still point to ChildOfSuperType.test().
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
1
. It doesn't matter whethersuperType
is cast asDefaultSuperType
, because it's still aChildOfSuperType
, and the function dispatch table will still point toChildOfSuperType.test()
.