---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 25 Edition"
java_version: 25
chapter: "Chapter 16. Definite Assignment"
section: "16.2"
heading: "16.2. Definite Assignment and Statements"
parent: "Chapter 16. Definite Assignment"
source: https://docs.oracle.com/javase/specs/jls/se25/html/jls-16.html#jls-16.2
id: "16.2"
url: https://jvm.obfuscated.software/jls/se25/16.2.html
raw: https://jvm.obfuscated.software/jls/se25/16.2.md
---

# 16.2. Definite Assignment and Statements

**Sections:**

- [16.2.1. Empty Statements](16.2.1.md)
- [16.2.2. Blocks](16.2.2.md)
- [16.2.3. Local Class and Interface Declarations](16.2.3.md)
- [16.2.4. Local Variable Declaration Statements](16.2.4.md)
- [16.2.5. Labeled Statements](16.2.5.md)
- [16.2.6. Expression Statements](16.2.6.md)
- [16.2.7. if Statements](16.2.7.md)
- [16.2.8. assert Statements](16.2.8.md)
- [16.2.9. switch Statements](16.2.9.md)
- [16.2.10. while Statements](16.2.10.md)
- [16.2.11. do Statements](16.2.11.md)
- [16.2.12. for Statements](16.2.12.md)
- [16.2.13. break, yield, continue, return, and throw Statements](16.2.13.md)
- [16.2.14. synchronized Statements](16.2.14.md)
- [16.2.15. try Statements](16.2.15.md)
