Pular para o conteúdo

Conheça Walt Disney World

Java syntax

A snippet of Java code with keywords highlighted in blue and bold font

The syntax of the Java programming language is a set of rules that defines how a Java program is written and interpreted.

Contents

Keywords

A keyword is one of 50 reserved words which have a predefined meaning in the language; because of this, programmers cannot use keywords as names for variables, methods, classes, or as any other identifier.[1] Due to their special functions in the language, most integrated development environments for Java use syntax highlighting to display keywords in a different color for easy identification.[citation needed]

See also

Footnotes

References

External links