Java   View all facts   Glossary   Help
syntactic unit > symbol > operator > assignment operator
Next operatorbinary operator    Upoperator    Previous operatorarithmetic operator   

assignment operator comparison table
Subject cause have syntax reassign is a kind of have equivalent return is an instance of indicate
%=    
op1 %= op2
is equivalent to
op1 = op1 % op2
a value called its resultassignment operator 
&=    
op1 &= op2
is equivalent to
op1 = op1 & op2
a value called its resultassignment operator 
<<=    
op1 <<= op2
is equivalent to
op1 = op1 << op2
a value called its resultassignment operator 
=     the same value as the value assignedassignment operatorassignment
>>=    
op1 >>= op2
is equivalent to
op1 = op1 >> op2
a value called its resultassignment operator 
>>>=    
op1 >>>= op2
is equivalent to
op1 = op1 >>> op2
a value called its resultassignment operator 
augmented assignment operatoran expression written using it to execute faster than the corresponding expression written without it
variable name operator= expression
a variable to a value obtained through a combination of the variable's current value with an expression's valueassignment operator a value called its result  
caret=    
op1 caret= op2
is equivalent to
op1 = op1 caret op2
a value called its resultassignment operator 
|=    
op1= op2
is equivalent to
>
op1 = op1  op2
a value called its resultassignment operator 

Next operatorbinary operator    Upoperator    Previous operatorarithmetic operator