Unboxing

The compiler's automatic conversion from a wrapper object to its primitive value.

What is Unboxing in Java?

Unboxing — The compiler's automatic conversion from a wrapper object to its primitive value.

class Score {
    Integer boxedScore = 7;
    int plainScore = boxedScore;
}

Level: Freelancer · More Java terms at this level

Updated

In other subjects