Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UML Multiplicity: "0..*" vs "*" [duplicate]

Is there any difference between 0..* and * for representing multiplicity in UML Class Diagrams? I cannot find a comprehensive guide online for multiplicity notations. To me they both seem to be saying the same thing conceptually.

like image 726
Ymi Avatar asked Dec 31 '25 17:12

Ymi


1 Answers

While Dave's answer is correct, I'd like to add for the records that it's not just a question of personal opinions. The UML specifications are explicit about this notational shortcut:

UML 2.5.1, p.35: If the lower bound is equal to the upper bound, then an alternate notation is to use a string containing just the upper bound. For example, “1” is semantically equivalent to “1..1” multiplicity. A multiplicity with zero as the lower bound and an unspecified upper bound may use the alternative notation containing a single star “ * ” instead of “0..*” multiplicity.

like image 185
Christophe Avatar answered Jan 02 '26 14:01

Christophe