8, Java operator

Java supports the following operators:
arithmetic operators: +, -, *, /,% (modulo / remainder), +, -
relational operators:>, <,> =, <=, ==,! =
logical operators: (inverted), & (and), | (or), ^ (or will) && (shorted), || (or short circuit)!
bitwise operators: &, |, ^, ~ , >>, <<, >>> (no focus)
assignment operator: =
extended assignment operator: + =, - =, * =, / =
string concatenation operators: +

Arithmetic operators:




  

Logical Operators:

 

Assignment operator and extended assignment operator

 

 

Guess you like

Origin www.cnblogs.com/hlc-123/p/11020179.html
Recommended