Class Hierarchy

Let’s learn how to create a class hierarchy.

Whenever a class hierarchy is more complex, we can’t simply eliminate it, but instead have to implement it in the following places:

  • In the app’s model code.
  • In the underlying database.
  • In its user interface.

The starting point for our case study is the design model shown below.

Get hands-on with 1200+ tech skills courses.