Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Design - Interview Questions and Answers for 'Creational design pattern' - 3 question(s) found - Order By Newest | ||||
| Ans. Builder is a creational Design Pattern whereas Composite is a structural design pattern. Composite creates Parent - Child relations between your objects while Builder is used to create group of objects of predefined types. | ||||
| ||||
| Ans. Factory is a creational design pattern whereas Strategy is behavioral design pattern. Factory revolves around the creation of object at runtime whereas Strategy or Policy revolves around the decision at runtime. | ||||
| ||||
| Ans. Factory,Abstract Factory,Singleton,Prototype and Builder | ||||