Java has a fixed set of reserved words called keywords. These words have special meaning in the language and cannot be used as variable, method, or class names.

Think of them as the “grammar rules” Java uses to understand what you’re trying to do.


Control Flow

These keywords control how code runs:

Class & Object Structure

Used to define structure of programs:

Access Control

Used to define visibility:

Modifiers & Utilities

Exception Handling

Boolean Logic

Primitive Types


Java has 50+ keywords, but you’ll become familiar with them naturally as you write more code. You don’t need to memorize them upfront—just recognize them and avoid using them for names.


Classes
Quiz
Videos
References
Books