Tag: java operator

Assignment Operator

Assignments The following is the list of all possible compound assignment operator. + =            & =                  % = – =             | =                 >>> = * =            ^ =                << = / =            >> = In the case of compound assignment operator, the required type casting is performed automatically by the compiler. byte b = 20 […]

Short Circuit Operators

Short Circuit Operators ( &&, || ) These operators are exactly same as normal operator |, ‘&’ except the following difference.  General Operators ( &, | )  Short Circuit Operator ( &&, || )  Both arguments should be evaluated always.  Second argument evaluation is optional.  Relatively performance is low. Performance is high.  Applicable for both […]