<P> In object oriented programming, a wrapper class is a class that encapsulates types, so that those types can be used to create object instances and methods in another class that need those types . So a primitive wrapper class is a wrapper class that encapsulates, hides or wraps data types from the eight primitive data types, so that these can be used to create instantiated objects with methods in another class or in other classes . The primitive wrapper classes are found in the Java API . </P> <P> Primitive wrapper classes are used to create an Object that needs to represent primitive types in Collection classes (i.e., in the Java API), in the java. util package and in the java. lang. reflect reflection package . Collection classes are Java API defined classes that can store objects in a manner similar to how data structures like arrays store primitive data types like, int, double, long or char, etc., But arrays store primitive data types while collections actually store objects . </P> <P> The primitive wrapper classes and their corresponding primitive types are: </P> <Dl> <Dd> <Table> <Tr> <Th> Primitive type </Th> <Th> Wrapper class </Th> <Th> Constructor Arguments </Th> </Tr> <Tr> <Td> byte </Td> <Td> Byte </Td> <Td> byte or String </Td> </Tr> <Tr> <Td> short </Td> <Td> Short </Td> <Td> short or String </Td> </Tr> <Tr> <Td> int </Td> <Td> Integer </Td> <Td> int or String </Td> </Tr> <Tr> <Td> long </Td> <Td> Long </Td> <Td> long or String </Td> </Tr> <Tr> <Td> float </Td> <Td> Float </Td> <Td> float, double or String </Td> </Tr> <Tr> <Td> double </Td> <Td> Double </Td> <Td> double or String </Td> </Tr> <Tr> <Td> char </Td> <Td> Character </Td> <Td> char </Td> </Tr> <Tr> <Td> boolean </Td> <Td> Boolean </Td> <Td> boolean or String </Td> </Tr> </Table> </Dd> </Dl>

Which is not a wrapper class in java