411 REFERENCE · Wikibooks
Java Programming/Keywords
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Keywords
__NOTOC__
Keywords are special tokens in the language which have reserved use in the language. Keywords may not be used as identifiers in Java — you cannot declare a field whose name is a keyword, for instance.
Examples of keywords are the primitive types, and ; the control flow statements and ; access modifiers such as , and special words which mark the declaration and definition of Java classes, packages, and interfaces: , , .
Below are all the Java language keywords:
(since Java 1.4)
(not used)
(since Java 5.0)
(not used)
(since Java 1.2)
In addition, the identifiers , , and denote literal values and may not be used to create identifiers.
abstract
assert
boolean
break
byte
case
catch
char
class
const
continue
default
do
double
else
enum
extends
final
finally
float
for
goto
if
implements
import
instanceof
int
interface
long
native
new
package
private
protected
public
return
short
static
strictfp
super
switch
synchronized
this
throw
throws
transient
try
void
volatile
while
100%
/Keywords
fr:Programmation Java/Liste des mots réservés
pt:Java/Palavra-chave