现在的位置: 首页 > 综合 > 正文

a question

2011年08月15日 ⁄ 综合 ⁄ 共 439字 ⁄ 字号 评论关闭
Compact Computers is a small computer assembly company. 
Their online application allows customers to pick 
and choose accessories to build their own PCs. 
The accessories are:

i. Processor - 800Mhz, 1Ghz, 1.2Ghz
ii. HDD - 40 GB, 60 GB, 80 GB
iii. Memory - 128 MB, 256 MB, 512 MB

If a computer can have exactly 1 processor, 
1 HDD and 1 memory stick, 
what pattern would be best used here?

A Factory Method
B Builder
C Prototype
D Abstract Factory
E Singleton

抱歉!评论已关闭.