Multiple Choice
Given the following code, identify the pattern. Class MyBuilder
{ static MyBuilder builder = null;
{ if builder == null {builder = new MyBuilder( ) ;
Return builder;
}
A) Factory Pattern
B) Singleton Pattern
C) Factory Method Pattern
D) Adapter Pattern
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q35: Which of the following is NOT a
Q36: What is the least cohesive approach in
Q37: System designers frequently create a class called
Q38: The true/false condition on a message indicates
Q39: A type of interaction diagram that does
Q41: The controller object is usually part of
Q42: When a domain object needs to create
Q43: The starting point for identifying messages in
Q44: A pattern that ensures that it only
Q45: There are two preferred methods to accessing