Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
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. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   design pattern   factory   strategy   creational design pattern   behavioral design pattern Asked in 1 Companies expert | ||||
Related Questions | ||||
What is Dependency Injection or IOC ( Inversion of Control ) ? | ||||
What is MVC ? | ||||
What are the Wrapper classes available for primitive types ? | ||||
Difference between Factory and Abstract Factory Design Pattern ? | ||||
Difference between Factory and Builder Design Pattern ? | ||||
Difference between Builder and Composite ? | ||||
What is the difference between subject and observable ? | ||||
What are the disadvantages of Design Patterns ? | ||||
What Design pattern Wrapper Classes implement ? | ||||