Home CPSC 240

Lab 12: 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 email your UML diagram to ifinlay@umw.edu.

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 © 2019 Ian Finlayson | Licensed under a Creative Commons Attribution 4.0 International License.