1. Home
  2. Computing & Technology
  3. Computer Certification
Correct!

Choice E is correct.

The Singleton doesn't just create a single instance it can also be used to create a variable number of instances of a class.

Choice A is incorrect as the Abstract Factory pattern is used for creating many objects that are dependent on each other.

Choice B is incorrect as the Factory Method pattern provides an interface for creating an object that allows either sub classes or helper classes to create that object.

Choice C is incorrect as the builder pattern separates the construction and representation of an object. The client is shielded from the objects construction only needing to specify it's content and type.

Choice D is incorrect as the Prototype pattern is used to create new objects by copying its prototype.


Continue quiz>


Explore Computer Certification
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Computer Certification

©2009 About.com, a part of The New York Times Company.

All rights reserved.