---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 17 Edition"
java_version: 17
chapter: "Chapter 4. Types, Values, and Variables"
section: "4.12.1"
heading: "4.12.1. Variables of Primitive Type"
parent: "4.12. Variables"
source: https://docs.oracle.com/javase/specs/jls/se17/html/jls-4.html#jls-4.12.1
id: "4.12.1"
url: https://jvm.obfuscated.software/jls/se17/4.12.1.html
raw: https://jvm.obfuscated.software/jls/se17/4.12.1.md
---

# 4.12.1. Variables of Primitive Type

A variable of a primitive type always holds a primitive value of that exact primitive type.
