Ashok
Ashok

Reputation: 129

UML class diagrams (operations compartment)

What should be written in the operations compartment? Shall it contain function definitions and/or function calls?

Also, how to represent enum and structures in class diagram?

Upvotes: 1

Views: 384

Answers (1)

AsthaUndefined
AsthaUndefined

Reputation: 1109

Class diagrams operational block contains operations to classes and interfaces. It must be function definition and not function call. For enum representation in class diagram refer to UML class diagram enum

Upvotes: 5

Related Questions