Chapter 5. Names, Arrays, Operators, and Accuracy

Names, Arrays, Operators, and Accuracy

This chapter covers more of the language basics: names, arrays, how operators work, and the accuracy you can expect in arithmetic. The chapter finishes up by presenting the standard class java.lang.Math.

Names

What is the difference between an identifier and a name? As we saw in Chapter 4, “Identifiers, Keywords, and Types,” an identifier is just a sequence of letters and digits that don’t match a keyword ...

Get Just Java™ 2, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.