What is multiplicity?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is multiplicity?
Rating:
The multiplicity of a relationship between two classes defines the number of objects of one class in relation to the number of objects of another class. In UML, the multiplicity of zero to many is represented by an asterisk(*) symbol. A one to many relationship is represented by using the 1..* notation. The following table describes the common multiplicities:
| Multiplicity | Representation |
|---|---|
| Exactly one instance | 1 |
| Zero or more instances | 0..* or * |
| One or more instances | 1..* |
| No instances or one instance | 0..1 |
Rating:
Was this information helpful?
Other articles
- What are the Closeable and Flushable interfaces?
- What is a finally block?
- How to define a thread by extending the java.lang.Thread class?
- What is the higherEntry(k) method of the NavigableMap interface?
- What are the formatting styles for date and time?