# Multiplicity

*noun*

say it: **“mul-tih-PLIS-ih-tee”** **/ˌmʌltɪˈplɪsɪti/**

The number at one end of a line in a class diagram that says how many objects can be at that end, such as 1, 0..1, \* or 1..\*.

## What is **multiplicity**?

**Multiplicity** is the number written at the end of a line in a class diagram, saying how many objects can be at that end: `1` (exactly one), `0..1` (none or one), `*` (any number, none included) or `1..*` (one or more). Read from one class to the number at the far end: a line from `Rental` to `Rentable` with `1..*` at the `Rentable` end says "a rental has one or more rentables". Each number is a rule the code must keep.

## In a sentence

- “The **multiplicity** on the line said 1..\*, so a rental with no bikes on it was a bug.”

Level: Apprentice · [More OOP terms at this level](https://www.ask-codey.com/glossary?category=oop&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/multiplicity
