04-24-2011, 08:28 PM
what is the concept of Wrapper Classes, what are the usage and advantages of that classes?
|
what is the concept of Wrapper Classes in java
|
|
04-24-2011, 08:28 PM
what is the concept of Wrapper Classes, what are the usage and advantages of that classes?
04-24-2011, 08:29 PM
A primitive data type is not object; in java most of the time objects are used. To use a primitive data type as object we need to wrap it into a its corresponding object class.
A primitive wrapper class in the Java programming language is one of eight classes provided in the java.lang package to provide object methods for the eight primitive types. Primitive type Wrapper class byte Byte short Short int Integer long Long float Float double Double char Character boolean Boolean These wrapper classes are very important as in many cases we need objects, e,g. many functions do not accept primitive data type as arguments they require objects. 0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|