Tuesday, November 29, 2011

Core Java Interview Questions :What are wrapped classes?

Wrapped classes are classes that allow primitive types to be accessed as objects.:Java is Object Oriented Programing it means everything in java treated as object, inorder to convert primitive types/data types into objects we will use Wrapper classes. For Ex:The autoboxing and unboxing feature introduced to convert Primitive type to its wrapper class automatically .:Wrapper classes correspond to the primitive data types in the Java language. These classes represent the primitive values as objects.

No comments:

Post a Comment