SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Prototype patterns are usually implemented with a Registry
|
true
|
|
false
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -Prototype design pattern is used when the Object creation is a costly affair and requires a lot of time and resources and you have a similar object already existing. Prototype pattern provides a mechanism to copy the original object to a new object and then modify it according to our needs.
Detailed explanation-2: -Q 18-Which of the following describes the Prototype pattern correctly? A-This pattern builds a complex object using simple objects and using a step by step approach.
There is 1 question to complete.