This is a small java project based on design pattern named Factory Method Pattern.