Compared to the C language, Java operators are a bit more complex, and the type is a little bit more relative. Here is the Java operator I wrote.
Operators for Java
Operator: 1. Increment and decrement operations: + 、-、 *,
2. Move operators: >>=, <<=, >>>=, <<<=
3. Boolean operator
& and such as: (a>0) & (a<1)
&& short circuit and such as: (a>0) & (a<1)
The difference is that when the first expression is false, the && will short-circuit and neither will judge the second expression
The difference between | and | | is when the first one is true | | Will short-circuit,
^ means: The true or the false is true, whether the person is false
4. Extended assignment operators: *=,/=
5. Comparison operator (more than one instanceof)
6. Trinocular operator
These are the Java operators, which, compared to the C language, have a move operator and a Boolean operator.
Operators for Java