Chapter 2. Working with Java data types

Exam objectives covered in this chapter

What you need to know

[2.2] Differentiate between object reference variables and primitive variables. The primitive data types in Java, including scenarios when a particular primitive data type should or can’t be used. Similarities and differences between the primitive data types. Similarities and differences between primitive and object reference variables.
[2.1] Declare and initialize variables. Declaration and initialization of primitives and object reference variables. Literal values for primitive and object reference variables.
[3.1] Use Java operators. Use of assignment, arithmetic, relational, and logical operators with primitives and ...

Get OCA Java SE 7 Programmer I Certification Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.