25.3 UML Class Diagrams (cont.)
- Important attributes and methods are listed
- Type of attributes and parameters can be specified attribute
: Type
text : string
- Similarly for return type of methods:
get_message(index : int) : Message
- Types often omitted for attributes, parameters, and return
values
prev
|top
|next