Q. Which design pattern you would you use to control the creation of an object based on a established interface, while allowing the concrete implementation to determine the subclass to construct. (Solved)
1. singleton design pattern
2. builder factory design pattern
3. prototype factory design pattern
4. factory method design pattern
- d. factory method design pattern