Introduction to OOP: Chapter 11: Replacement and Refinement [next] [previous] [audio] [real] [text]

Adding versus Replacing or Refining

Up to now, our model has been that child classes only add behavior and data.

picture of parent and child classes

What happens if child classes have methods with the same name as in parent class?

Intro OOP, Chapter 11, Slide 2