In UML, an Object Diagram is a type of static structure diagram that shows a snapshot of the detailed state of a system at a point in time. It focuses on some particular set of objects and attributes, and the links between them. When it comes to the number of instances that can be represented in an Object Diagram, it can range from zero (in cases where the diagram is used to show that no instances of a class exist under certain conditions) to many instances. Therefore, an Object Diagram can show 0 instances, 1 instance, or many instances, which is represented by the multiplicity notation 0..*.
Therefore, the correct answer is:
D. 0..*
[Reference: Object Management Group (OMG) Unified Modeling Language (UML) Specification Version 2.5.1 Section 9.8 on Object Diagrams (Instance Specifications)., ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit