Chapter 4
Demonstrating Behavior with UML
In This Chapter
Drawing out objects in UML
Expanding use cases into use case diagrams
Ordering steps with sequence diagrams
Showing how objects collaborate
Noting the flow of activities
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.