1. Why should we use Factory Method?
1) We want to control the way we create new instance of a certain class. We cannot merely use the new XXX() to create an instance. 1) We want
1. Why should we use Factory Method?
1) We want to control the way we create new instance of a certain class. We cannot merely use the new XXX() to create an instance. 1) We want