Read more about the article Wrapper Classes
java_logo

Wrapper Classes

Each primitive type has a wrapper class in Java, which is an object type that corresponds to the primitive Primitive TypeWrapper ClassExamplebyteByteByte byteValue = Byte.valueOf((byte) 1);shortShortShort shortValue = Short.valueOf((short) 1);intIntegerInteger…

Comments Off on Wrapper Classes