SCJP 1.6版考題 023
出自 陳富國維基館
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 only the 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 the design 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. Inheritance B. Low cohesion C. Tight coupling D. High cohesion E. Loose coupling F. Object immutablility
解答
Ans: B C
解說: 無
|