2.5.1 How to Represent Constructor Parameters in a Class Diagram

For this example we will be looking at the code below.

Parameters in constructors look exactly like parameters in methods they just need to be inside the constructor parenthesis.