Essays /

Website Design Essay

Essay preview

UML Class Diagrams and Examples

Here are some examples of UML class diagrams and explanations of their contents. See if you can interpret the last diagram yourself. Refer to Handout #2 for help with the UML syntax.

Example #1: Inheritance – Vehicles

This diagram shows an inheritance hierarchy – a series of classes and their subclasses. Its for an imaginary application that must model different kinds of vehicles such as bicycles, motor bike and cars.



• All Vehicles have some common attributes (speed and colour) and common beh...

Read more


1 2 3 accord ad addit allow along also anoth applic arespecif assign associ attend attribut base behaviour bicycl bike car class colour common compani conform content cours current demonstr design diagram differ e.g employe engin examin exampl explan get getemailaddress getnam handout help hierarchi imaginari inherit interfac interpret kind last lectur licens list maintain manag may method mix model motor motorbik motorvehicl multipl must note object one payrol person pic plate properti put refer relationship remov report see seri sever show shown similar singl speed stipul student subclass superclass syntax system taughtbi teach teacher therefor turnleft turnright type uml univers us use vehicl way websit zero