Java Reserved Words

Updated: 04/26/2017 by Computer Hope

Java reserved wordsJava reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names). If a reserved word was used as a variable you would get an error or unexpected result. The list of reserved words in Java is provided below.

List of Java reserved words

abstract
assert
boolean
break
byte
case
catch
char
class
const
default

do
double
else
enum
extends
false
final
finally
float
for
goto

if
implements
import
instanceof
int
interface
long
native
new
null
package

private
protected
public
return
short
static
strictfp
super
switch
synchronized

this
throw
throws
transient
true
try
void
volatile
while
continue

Programming terms, Reserved words