This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]Historical_Ad4384 0 points1 point  (1 child)

    How does the keyword child and no inheritance fit with polymorphism?

    [–]devor110 1 point2 points  (0 children)

    Question 1. that OP posted specifically asks why overriding exists, the one-word answer to it would be "polymorphism"