Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > operator > Java operator > Java special operator
Next Java operatornew    UpJava operator    Previous Java operatorJava relational comparison operator   

Java special operator comparison table
Subject use in have example
*= 
example expressionequivalent longer expression
a*=b;a=a*b;
++prefix or postfix form
example expressionequivalent longer expression
a++;
b=a++;
++a;
b=++a;
a=a+1;
b=a; a=a+1;
a=a+1;
a=a+1; b=a;
+= 
example expressionequivalent longer expression
a+=b;a=a+b;
--prefix or postfix form
example expressionequivalent longer expression
a--;
b=a--;
--a;
b=--a;
a=a-1;
b=a; a=a-1;
a=a-1;
a=a-1; b=a;
-= 
example expressionequivalent longer expression
a-=b;a=a-b;
/= 
example expressionequivalent longer expression
a/=b;a=/b;

Next Java operatornew    UpJava operator    Previous Java operatorJava relational comparison operator