Follow the steps provided below to create an association class:
- Add a class called Date with two attributes: DateBegin and DateEnd.
- Click on the icon Is association class of the toolbox. In the class diagram, click on the association workIn and drag to the class Date.