Fork me on GitHub

Introduction

In this exercise you will develop three parts of the shopping application:

  • user cart which stores products for eventual purchase
  • promotions which count a discount for cart
  • a mechanism that determines the total price of the cart

Exercise

We provide only Product and some subclasses (Beer, Chips, SaltySticks and Wine) to allow you to fully use TDD (define interfaces, create classes etc.). You should start by opening the package-info.java file.