I am interested to learn factory class, please give some samples and tutorials for this kind of class?
Let me google that for you