---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 17 Edition"
java_version: 17
chapter: "Chapter 3. Lexical Structure"
section: "3.10.8"
heading: "3.10.8. The Null Literal"
parent: "3.10. Literals"
source: https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.10.8
id: "3.10.8"
url: https://jvm.obfuscated.software/jls/se17/3.10.8.html
raw: https://jvm.obfuscated.software/jls/se17/3.10.8.md
---

# 3.10.8. The Null Literal

The null type has one value, the null reference, represented by the *null literal* `null`, which is formed from ASCII characters.

```
NullLiteral:
  null
```

A null literal is always of the null type ([§4.1](4.1.md)).
