Inheritance hierarchy and degree of abstraction

  • In the inheritance hierarchy (tree), classes become more specific and concrete with each new subclass.

  • I.e.:

    • If you move from a subclass back up to a superclass, the classes become more general and less specific --- i.e.: more abstract

  • Example:

     

    • You have concrete cats and dogs, but no concrete "animals"

    • You have real examples of circles, but no concrete "geometric objects"