Section 5: Operators and Assignments

  • Determine the result of applying any operator (including assignment operators and instance of) to operands of any type class scope or accessibility or any combination of these.

  • In an expression involving the operators &, |, &&, || and variables of known values state which operands are evaluated and the value of the expression.

  • Determine the effect upon objects and primitive values of passing variables into methods and performing assignments or other modifying operations in that method.

Relevant Sections

Read Chapter 3. The subsection “Object Value Equality” in Section 3.10 is not covered by the objectives. See also subsection “Reference Casting and instanceof Operator” in Section 6.6.

Study Notes

Operators require ...

Get Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second 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.