Thursday , November 7 2024

Tag Archives: wrapper class

Wrapper class in Java

Wrapper classes are used to convert primitive into object and object into primitive. Each of Java’s eight primitive data types has a class dedicated to it. These are known as wrapper classes, because they “wrap” the primitive data type into an object of that class. The primitive data types are …

Read More »