Grokking the Object Oriented Design Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Heinz Yeo
Add Cardinality

Heinz Yeo

Oct 4, 2023

This one came up in my interview. Remembering the entities/objects helped with my design, I would say make sure to add cardinality in all the designs. They also wanted to see how my database model worked. They threw curve balls in design to see whether this new entity would relate to the rest of the model. What's the new relationship, how would you adjust to the new cardinality. Hypothetical scenarios, and see where I would change the design.

Something to consider. Having cardinality initially would have made my interview smoother.

0

0

Comments
Comments
archit chauhan
archit chauhan2 years ago

Makes sense

On this page

System Requirements

Use case diagram

Class diagram

Activity diagrams

Code