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.
Originally posted by fundupuneet vyas: i wrote the following code but it didn't work:
In what way did it not work ? Does it compile (if not tell us what the error messages are - with an indication of which lines in your code they refer to). If it compiles but does not do what you wanted, then tell us what it is doing and how this differs from what you want it to do.