Datasheet
FIGURE 1.2
This is an example of a UML diagram that describes a relationship between a base and a derived class.
One class can extend a class that in turn extends another. UML diagrams can be extended to
describe these relationships as well. The UML diagram in Figure 1.3 describes a three-tier inheri-
tance relationship between a superclass named
Animal and subclasses named Dog and Poodle.
FIGURE 1.3
This diagram describes a three-part inheritance relationship.
Animal
+ name
+ sleep()
+ eat()
Dog
+ bark()
+ eat()
Poodle
+ bark()
Animal
Dog
13
About Flex 3
1
06_287644-ch01.qxp 6/23/08 11:28 PM Page 13