0 votes
in JAVA by
What is autoboxing and unboxing in java?

1 Answer

0 votes
by

What is autoboxing and unboxing in java?

Autoboxing is the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classes. 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.

Related questions

+3 votes
asked May 13, 2021 in JAVA by rajeshsharma
0 votes
asked Apr 8, 2021 in JAVA by SakshiSharma
...