Data Structure
Java
Python
HTML
Interview Preparation
Interview Prep
Tutorials
Tracks
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Java
9.3K+ articles
Difference Between
3.1K+ articles
Java-lang package
417+ articles
java-lang-reflect-package
138+ articles
Java-Classes
79+ articles
Java-Integer
34+ articles
Java-Data Types
28+ articles
Java-Byte
20+ articles
java-wrapper-class
11 posts
Recent Articles
Popular Articles
Different Ways to Create the Instances of Wrapper Classes in Java
Last Updated: 23 July 2025
Wrapper Class a class whose object wraps or contains primitive data types. When we create an object to a wrapper class, it contains a field and in this field, we can store...
read more
Java
java-wrapper-class
Need of Wrapper Classes in Java
Last Updated: 23 July 2025
Firstly the question that hits the programmers is when we have primitive data types then why does there arise a need for the concept of wrapper classes in java. It is beca...
read more
Java
java-wrapper-class
Sorting Elements of Arrays and Wrapper Classes that Already Implements Comparable in Java
Last Updated: 23 July 2025
Java provides the Comparable interface to sort objects using data members of the class. The Comparable interface contains only one method compareTo() that compares two obj...
read more
Java
Picked
Java-Arrays
java-wrapper-class
Java-Comparable
Output of Java programs | Autoboxing and Unboxing
Last Updated: 11 July 2025
Prerequisite - Autoboxing and unboxing in Java1)What is the output of the following program? Java class Main { public static void main(String[] args) { ...
read more
Java
Java-Data Types
java-wrapper-class
Difference between an Integer and int in Java with Examples
Last Updated: 11 July 2025
In Java, int is a primitive data type while Integer is a Wrapper class.int, being a primitive data type has got less flexibility. We can only store the binary value of an ...
read more
Java
Difference Between
Java-Integer
java-wrapper-class
Base conversion in Java
Last Updated: 11 July 2025
Given a number in a given base, convert it into another target base.ExamplesInput : Number = "123" Source Base = 8 Target Base = 10Output : 833 * 1 + 2 * 8 +...
read more
Java
java-wrapper-class
Java.Lang.Byte class in Java
Last Updated: 23 July 2025
In Java, Byte class is a wrapper class for the primitive type byte which contains several methods to effectively deal with a byte value like converting it to a string repr...
read more
Java
Java-lang package
java-wrapper-class
Java-Byte
java-lang-reflect-package
Java.Lang.Double Class in Java
Last Updated: 23 July 2025
Double class is a wrapper class for the primitive type double which contains several methods to effectively deal with a double value like converting it to a string represe...
read more
Java
Java-lang package
java-wrapper-class
Java-Classes
Autoboxing and Unboxing in Java
Last Updated: 02 August 2025
AWrapper classin Java is one whose object wraps or containsprimitive data types. This leads to two key features: Autoboxing and Unboxing.1. AutoboxingThe automatic convers...
read more
Java
java-wrapper-class
Wrapper Classes in Java
Last Updated: 22 November 2025
A Wrapper class in Java is one whose object wraps or contains primitive data types. When we create an object in a wrapper class, it contains a field and in this field, we ...
read more
Java
java-wrapper-class
Primitive Wrapper Classes are Immutable in Java
Last Updated: 30 August 2022
In Java, an immutable class is a class (Integer, Byte, Long, Float, Double, Character, Boolean, and Short) which once created then its body can not be changed and the same...
read more
Java
java-wrapper-class