Which Edits Reduce Coupling
OrderService currently does new SmtpMailer() inside confirm(), and reads order.status, order.total and order.lines through getters to decide whether to bill. Order is a plain data holder: 12 public getters and setters, one pair per field, and no behavior of its own.
More than one of the following reduces coupling. Select every one that does.
Sign in to answer questions and track your progress
Sign In