Declaring Variables¶
☕ Java 17
Every program stores data in variables. Here you'll learn how to declare them, which names Java accepts, the conventions professionals follow, and how final and var change a declaration.
In this series¶
| # | Page | Reading time |
|---|---|---|
| 1 | Declaring and naming variables | 3 min |
| 2 | Local variables, final and var | 3 min |
🎓 OCP 1Z0-829 candidates: exam traps and practice questions (optional)
Prerequisites: Two Kinds of Data: Primitives and References.