In this chapter
Classes and artifacts
Static models and dynamic models
Connections among models
Extending the UML
Brian Kernighan and Dennis Ritchie, the authors of the C programming language, point out that “the only way to learn a new programming language is by writing programs in it.” The same is true of the UML. The only way to learn the UML is by writing models in it.
The first program many developers write when approaching a new programming language is a simple one, involving little more than printing the string “Hello, World!” This is a reasonable starting point, because mastering this trivial application provides some instant gratification. It also covers all the infrastructure needed to get something running.
This is ...