previous | start | next

Self Check

  1. Why is the CashRegister class from Chapter 4 not cohesive?
  2. Why does the Coin class not depend on the CashRegister class?
  3. Why should coupling be minimized between classes?

previous | start | next