For beginners to understand the plant model
no vote
Application background Suitable for beginners to learn factory modeFactory mode is our most commonly used to model the object is to use the factory method instead of new operation of a model. The famous Jive forum, on a large number of the use of the factory model, the factory model in the Java program system can be said to be everywhere. Because the factory pattern is equivalent to create a new instance of the object, we often have to generate an instance of an object according to the class, such as a a=new (a) the factory pattern is used to create an instance of an object, so after new to many minds, can consider to use the factory pattern, although to do so, may do some work, but will give you a system to bring a greater scalability and to minimize the amount of modifications.