Java Reference
In-Depth Information
Display 12.2 A Class Hierarchy in UML Notation
Person
Arrows go from a
derived class to its
base class.
Employee
Student
Graduate
Undergraduate
Faculty
Staff
object of the class
. The diagram in Display 12.3 tells you that you can find
Student
the definition of
s.toString();
and
s.set("Joe Student", 4242);
in the class
, but the definition of
Student
s.setName("Josephine Student");
is found in the definition of the class
.
Person
 
Search WWH ::




Custom Search