問題詳情

第23題A company has a business application that provides its users with many different reports: receivables reports,payables reports, revenue projects, and so on. The company has just purchased some new, state-of-the-art,wireless printers, and a programmer has been assigned the task of enhancing all of the reports to use not onlythe company's old printers, but the new wireless printers as well.When the programmer starts looking into the application, the programmer discovers that because of thedesign of the application, it is necessary to make changes to each report to support the new printers.Which two design concepts most likely explain the situation? (Choose two.)
(A) InheritanceSCJP 6.0 認證教戰手冊 黃彬華著 碁峰出版12
(B) Low cohesion
(C) Tight coupling
(D) High cohesion
(E) Loose couplingF. Object immutablility

參考答案

答案:B,C
難度:適中0.442177
統計:A(7),B(82),C(73),D(22),E(11)