Showing posts with label Java Design Patterns Mock Questions. Show all posts
Showing posts with label Java Design Patterns Mock Questions. Show all posts

June 25, 2012

Gang of Four (GOF) Java Design Patterns Mock Exams (Page 01)

Gang of Four (GOF) Java Design Patterns Mock Exams.
Following are some questions on Java Design Patterns, which includes answers also:

Page 1

1) Which pattern is most appropriate when a decision must be
made at the time a class is instantiated?
Please choose only one answer:
A) Bridge
B) Composite
C) Factory Method
D) Command