Wrapper classes are a way of manipulating the values stored in a primitive data type, and then treating those values as if they were an object. All of the Wrapper classes have methods that interact with each particular primitive data type.
Originally posted by sirisha makkapati: Hi, Wrapper classes Are Used To Acess Primitive Types as Objects,But Why We Would like to AcessPrimitive types to be accessed as Objects,Any one Can Tell me The Reason
I think, correctly, your question is better addressed by looking at earlier work in computer science, but the answer to your question is difficult to put into words while staying entirely within the Java nomenclature.
Originally, a value stored in memory would have to be read into a working area of the processor. Then, as compiler science kept up with more powerfull machines, it became simpler to use a record of where the value was stored rather than the value it's self. Then, something called the structure - which is remakably close to a class in Java - became used to keep several values in one ... object ... get it ?
A structure was used so often to keep all data in one place that it was boosted in capabilities and renamed the class, because all data could be classified into ojects which lend themselves to thinking.
They way compilers were written and the complexity of keeping up with everything just lead to keeping everyting in objects to make matters simple. [ January 07, 2007: Message edited by: Nicholas Jordan ]
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."