|
|
Section 4: Operators and Assignments
|
|
5.1 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.
|
|
5.2 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.
|
|
5.3 In an expression involving the operators &, |, &&, || and variables of known values state which operands are evaluated and the value of the expression.
|
The fifth SCJP objective is primarily about Java operators. This chapter briefly discusses all the java operators and how they are used. This chapter also prepares a base for the next chapter, in which we will discuss the conversion, casting and arithmetic promotion of Java operands. Specifically this chapter covers the 5.1 (partially), 5.2 (partially) and 5.3 sections of SCJP objectives.