Lesson 1
Java Operators
This module discusses how operators are a fundamental element from which Java expressions and statements are built.
The certification exam recognizes the importance of operators and contains a number of questions that call
upon your knowledge of them. However, this should not be a cause for concern. You've probably already used most of the
operators that Java provides. This module will review these operators and point out any important aspects of them that you should
master in preparation for the exam.
Module objectives
This module will review your knowledge of Java operators, provide numerous examples of their use, and help you to satisfy the
following exam objectives:
In addition to the above, you will cover the topics of conversion, casting, operator precedence, and order of evaluation.
-
Determine the result of applying any operator, including assignment operators and instanceof to operands of any
type, class, scope, accessibility, or any combination of these.
-
Determine the result of applying the boolean equals(Object) method to objects of any combination of the classes
java.lang.String, java.lang.Boolean, and java.lang.Object.
- In an expression involving the operators &, |, &&, ||, and variables of known values, state which operands are evaluated and the value of the expression.
In addition to the above, you will cover the topics of conversion, casting, operator precedence, and order of evaluation.
