CHAPTER 3 ■ DATA TYPES
- How arrays work
- What a null is and how to use one to good effect
- How to create and use enumerations
We make repeated use of all these concepts and techniques throughout the rest of the book. As we
work more with Java, you'll do a lot with primitives, the String object, primitive and String literals, and
arrays. Enumerations appear less often in most code, but they offer important advantages (most notably
type safety) when we need them.