Difference from Overloading
Like overloading, there are two distinct methods with the same name.
But there are differences:
- Overriding only occurs in the context of the parent/child relationship
- The type signatures must match
- Overridden methods are sometimes combined together
- Overriding is resolved at run-time, not at compile time.
Intro OOP, Chapter 16, Slide 02