参考答案:
(1)ticket.printInvoice() (2)ticket.printInvoice() (3)ticket.printInvoice()
(4)new FootDecorator(newHeadDecorator(t))
(5)new FootDecorator(newHeadDecorator(newDecorator(null)))
第 16 页 共 16 页
参考答案:
(1)ticket.printInvoice() (2)ticket.printInvoice() (3)ticket.printInvoice()
(4)new FootDecorator(newHeadDecorator(t))
(5)new FootDecorator(newHeadDecorator(newDecorator(null)))
第 16 页 共 16 页
下一篇:环保、水土保持措施