Chapter 4. Data Types

There are two basic data categories in Java: objects and primitives. All data members and local variables must have a data type that is either a primitive or some class type.

Get PURE 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.