Какие операторы Java

Java Operator Operator Description
[ ] Array index
() Method call
. Member access
++ Prefix or postfix increment
-- Prefix or postfix decrement
+ - Unary plus, minus
~ Bitwise NOT
! Boolean (logical) NOT
(type) Type cast
new Object creation
* / % Multiplication, division, remainder
+ - Addition, subtraction
+ String concatenation
<< Signed bit shift left to right
>> Signed bit shift right to left
>>> Unsigned bit shift right to left
< <= Less than, less than or equal to
> >= Greater than, greater than or equal to
instanceof Reference test
== Equal to
!= Not equal to
& Bitwise AND
& Boolean (logical) AND
^ Bitwise XOR
^ Boolean (logical) XOR
| Bitwise OR
| Boolean (logical) OR
&& Boolean (logical) AND
|| Boolean (logical) OR
? : Conditional
= Assignment
*= /= += -= %=
<<= >>= >>>=
&= ^= |=
Combinated assignment
(operation and assignment)

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Можно использовать следующие HTML-теги и атрибуты: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>