华师大面向对象程序设计-Lec12_设计类图及顺序图等1.pptVIP

  • 4
  • 0
  • 约 98页
  • 2016-12-30 发布于湖北
  • 举报

华师大面向对象程序设计-Lec12_设计类图及顺序图等1.ppt

* POS: UI Thin Layer should not handle System Operations (bad example) * Exercise Which class should be responsible for creating the Transaction class? Select any 1 option: LineItem Customer Station Payment Cashier * Exercise A well designed Object Oriented System is : (Single select) A. Is loosely cohesive and loosely coupled. B. Is tightly cohesive and loosely coupled. C. Is tightly cohesive and tightly coupled. D. Is loosely cohesive and tightly coupled. Consider the following design. How would the introduction of a subtotal() method in OrderLine improve the design? (a) It enhances the

文档评论(0)

1亿VIP精品文档

相关文档