Home CPSC 240

Lab 10: Inheritance Diagrams



To become familiar including inheritance in UML diagrams.



For this lab you will create a UML 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 upload either a .dia file, or a .png image. If you are using something else, please upload a .png

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