Java reserved words

Updated: 04/26/2017 by Computer Hope
Java reserved words

Java 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.

List of Java reserved words

The following table lists the reserved words in Java.

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