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
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