软件体系

本次作业涉及工厂方法模式的汽车保险信息系统设计,新增了LuxeryCarInsurance类,并在PolicyProducer类中添加相应子类以创建此类对象。FactoryMethodGUI客户端类已修改,能展示Luxery Car Insurance政策。描述了完成的作业内容,包括添加的类、类间关系及代码变更。同时,列出运行ClientGUI选择Body Injury Liability后,点击“显示信息”按钮调用的方法顺序。
摘要由CSDN通过智能技术生成

软件体系结构第一次作业

 

作业要求:The following class diagramrepresents a design in factory method pattern to query the features ofdifferent types of auto insurances. See the source code for the implementationof the following class diagram.

 

1)   First in thefollowing design, in the class hierarchy named AutoInsurance, add a class LuxeryCarInsurance

2)   The class LuxeryCarInsurance hasthesame interface and methods as every class in this class hierarchy

3)   You write aword description of the new insurance

4)   Then youneed to add a sub class in the class hierarchy PolicyProducer to create objectof class LuxeryCarInsurance 

5)   Finally youneed t

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值