Home › Java › Java Keywords

Java Keywords

Last updated: 28 Sep 2026

Keywords are reserved words with a fixed meaning, so they cannot be used as names. Java has about 50, for example:

class, public, static, void, if, else, for, while, switch, return, new, try, catch, final, this, super.