What You'll Learn in This Hour:
How to model a class
How to show a class's features, responsibilities, and constraints
How to discover classes
Now it's time to put the UML together with the object-oriented concepts you learned in the last hour. In this hour, you'll firm up your knowledge of object-orientation as you learn more about the UML.
As I pointed out in the first hour, a rectangle is the icon that represents a class in the UML. From Hours 1, “Introducing the UML,” and 2, “Understanding Object-Orientation,” recall that the name of the class is, by convention, a word with an initial uppercase letter. It appears near the top of the rectangle. If your class has a two-word name, join ...