AlgoViz

UML class diagrams

easy 45 min

A class diagram is a picture of the types in a program and the lines between them.

Chapter mnemonic

Read a sequence diagram

Name the actors. Follow the arrows. Read down the stage.

Which marks show who called whom, and where do you look for the next event?

Read the message arrows between participants, then move down the relevant lifeline.