根据说明中的叙述,抽象出如表5-21所示的方法。请指出图5-12中,类CustomerInformationSystem应具有
根据说明中的叙述,抽象出如表5-21所示的方法。
请指出图5-12中,类CustomerInformationSystem应具有的方法:(9);类InstitutionalCustomer应具有的方法:(10)。
正确答案:类CustomerInformationSystem(客户信息管理系统)的作用是向用户提供与客户管理相关的操作接口所以addCustomer、getCustomer和removeCustomer是类CustomerInformationSystem(客户信息管理系统)的方法。 由于联系人是由集团客户创建和管理的按照面向对象的理念与联系人相关的直接操作应由类 InstitutionalCustomer(集团客户)来提供。因此addContact、getContact和removeContact是类 In
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。
