Low-Level DesignReported in a candidate post, Sep 2020
Design a class diagram for a shopping cart
Filed under SAP
The question
Create an object-oriented class diagram for an online shopping cart scenario, detailing appropriate relationships (one-to-one, one-to-many, many-to-many) and core functions.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.