Part 2
Java Language Basics
Like other modern programming languages, Java has a unique and sometimes peculiar syntax, complete with rules and regulations about spelling and punctuation, a long list of keywords, and sometimes arcane rules about how the various elements of the language fit together. This part provides an alphabetical reference to the most important elements of the Java programming language. You can refer to this part whenever you need a quick reminder of the syntax for a statement (such as for
or switch
) or when you need a refresher on details (such as the difference between float
and double
data types).
In this part . . .
Java language statements
Java keywords
Variables, operators, and expressions
Data types
Object-oriented programming