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.
The given code is supposed to read the file and return it in the form of an object. in the beginning it shows no error but when i try to print data it shows nothing and loops me back to where I started. need help in resolving this problem.