|
name
is not defined explicitly for class employee
but is inherited from its superclass person
.
|
age
is defined for person
and thus inherited by employee
.
IsA
relationships can be used explicitly in query expressions.
Determines employees and everyone else over the age 50.
|
|