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.
What is meant by wrapper class.I have idea that Primitive data type are converted into corresponding object using wrapper class.Apart from this ,what is the real time use of Wrapper class in any enterprise application
I'm not sure if this is the context where you want some explanation about a wrapper class, but here it goes:
Imagine that you have a method that must return two values, or an object and a value. What do you do? well, create a wrapper class to grab the value and the object and return that class (but some questions arise: aren't your method trying to do more than it should? make sense, in terms of OO create such a class?)
hope it helps,
Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein