Which classes allow primitive type to be accessed an object?
Answers
Answered by
0
Answer:
Wrapper classes allow primitive data types to be accessed as objects. Wrapping is a process of converting primitive data type into objects. It is used to convert one datatype to another datatype. For example: converting int to double, double to float, float to String, String to float etc.
Explanation:
Please. Mark me the brainliest
Answered by
0
Wrapper classes are used to convert any data type into an object. The primitive data types are not objects; they do not belong to any class; they are defined in the language itself. Sometimes, it is required to convert data types into objects
Similar questions