Tag: Wrapper class
-
JavaAutoboxing and Unboxing in Java
Primitive data types are handled differently in Java, which led to the development of wrapper classes, which include the components…
July 13, 2022
-
JavaWrapper Class in Java
A Wrapper class is one whose object contains or wraps primitive data types. When we create an object for a…
August 20, 2022
-
JavaByte Class in Java
The Byte class creates an object out of a primitive type byte value. An object of type Byte has a…
August 21, 2022
-
JavaShort class in Java
The Short class is a wrapper class for the primitive type short. It contains several methods for dealing with short…
August 27, 2022
-
JavaFloat class in Java
The Float class is a wrapper class for the primitive type float. It contains several methods for dealing with float…
August 27, 2022
-
JavaDouble class in Java
The Double class is a wrapper class for the primitive type double. It contains several methods for dealing with double…
August 27, 2022
-
JavaBoolean class in Java
In java.lang package, there is a wrapper class Boolean. A value of the primitive type boolean is wrapped in an…
August 27, 2022
-
JavaCharacter class in Java
In java.lang package, Java includes a wrapper class called Character. A single field of type char is contained in a…
August 27, 2022