This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
R. Jain wrote:Have you tried to run the code, what you are trying to show here..
Just try and frame the raw code what you can think of.. And see what errors you get.. Probably that would be a better way to learn..
*FYI: - Always use generic types while using List, ArrayList and other Collection types..