6UML CLASS DIAGRAMS

Image

This chapter describes class diagrams, one of the more important diagramming tools in UML. Class diagrams are the basis for defining data types, data structures, and operations on that data in programs. In turn, they’re the basis for object-oriented analysis (OOA) and object-oriented design (OOD).

6.1 Object-Oriented Analysis and Design in UML

The creators of UML wanted a formal system for designing object-oriented software to replace the structured programming formalisms available at the time (1990s). Here we’ll discuss how to represent classes (data types) and objects (instance variables of data types) in UML.

The most complete ...

Get Write Great Code, Volume 3 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.