What Is Boxing In Java. For example converting an int to an integer a double to a double and so on. If the conversion goes the other way this is called unboxing.
For example converting an int to an integer a double to a double and so on. What is boxing in java. For example converting an int to an integer a double to a double and so on.
Converting primitive datatype to object is called boxing.
For instance if you write in code. What is boxing in java. In the java lang package java provides a separate class for each of the primitive data type namely byte character double integer float long short. Converting primitive datatype to object is called boxing.