Home CPSC 240

Lab 9: Inheritance Diagrams



To become familiar including inheritance in UML diagrams.



For this lab you will create a UMW class diagram for a program which uses geometric shapes. You will have the following classes:

Remember to include all the things needed in a class diagram:


Dia Inheritance

To draw an inheritance arrow in Dia, you use the arrow labelled "Generalization, class inheritance". Make sure the arrow is going the right way! The arrow head should point at the base class.



When you are done, please upload your UML diagram to Canvas.

If you are using Dia, you can email me either a .dia file, or a .png image. If you are using something else, please send me a .png

Copyright © 2022 Ian Finlayson | Licensed under a Attribution-NonCommercial 4.0 International License.