Explain about Multiplicity Property of Associations in UML Class Diagrams? | UML Programmer Guide | UML Interview Question

Multiplicity Property of Associations deals with the relationship between objects. Given below are the possible combination of values for multiplicity property of associations in UML
  • 1 - this end of the association always links to one object. In the figure, every Menu Item has one Menu.
  • 0..1 - either this end of the association links to one object, or there is no link.
  • * - every object at the other end of the association is linked to a collection of objects at this end, and the collection may be empty.
  • 1..* - every object at the other end of the association is linked to at least one object at this end. In the figure, every Menu has at least one Menu Item.
  • n .. m - each object at the other end has a collection of between n and m links to objects at this end.