Generalization

 

If two classes are very similar it may be helpful to put the similarities into a more general class called a superclass.  For example, if you set up a superclass called Student, then Graduate Student and Undergraduate Student can be subclasses of Student.

 

 

Everything about the Student class is the same in the Graduate Student and Undergraduate Student classes.  However, the two subclasses may have additional attributes and operations.

 

Use the display field on the generalization's property page to specify text that should appear next to the generalization link on your diagram.

How do I open a link's Property Page?
How do I set up a link on my diagram?

 

Related Topics: