Chapter 7. Names, Operators, and Accuracy

  • Keywords

  • Punctuation Terminology

  • Names

  • Identifiers

  • Expressions

  • Arrays

  • Operators

  • Associativity

  • How Accurate Are Calculations?

  • Widening and Narrowing Conversions

  • What Happens on Overflow?

  • Some Light Relief—Furby's Brain Transplant

This chapter covers more of the language basics. The information here follows a progression: first, the basics of names and identifiers, then how names are connected in expressions by operators, followed by the rules to evaluate expressions.

The last part of the chapter describes practical limits on accuracy, casting and conversions. If you are new to floating point arithmetic, some of this may come as a bit of a shock. The chapter finishes up by presenting ...

Get Just Java™ 2 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.