Chapter 4

Demonstrating Behavior with UML

In This Chapter

arrow Drawing out objects in UML

arrow Expanding use cases into use case diagrams

arrow Ordering steps with sequence diagrams

arrow Showing how objects collaborate

arrow Noting the flow of activities

arrow Stating the different states of an object

In this chapter, we walk you through the five dynamic diagrams in UML. These are the diagrams that show how objects work together and change over time. Some of them you may find more useful than others, and that’s fine — you don’t have to use all the diagrams you see in this chapter. You are free to use those that you find the most useful.

Drawing Objects

In UML, you can draw class diagrams that show the classes in your system, or you can get right down to it and draw an object diagram, which contains actual instances or objects. Because you are drawing instances, you might have multiple objects of a single class on ...

Get C++ All-in-One For Dummies, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.