# Autoboxing

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

## What is **Autoboxing** in Java?

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

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

Level: Freelancer · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/autoboxing
