Computer Science, asked by tetrayt1, 8 months ago

Arrange the operators in the order of precedence​

Answers

Answered by nishagupta89853
5

Answer:

Precedence

Operator

Associativity

1

(), []

non-associative

2

new

non-associative

3

.

left-associative

4

++, - -

non-associative

5

- (unary), + (unary), !, ~, ++, - -, (type)

right-associative

6

*, /, %

left-associative

7

+, -

left-associative

8

<<, >>, >>>

left-associative

9

<, >, <=, >=, instanceof

non-associative

10

==, !=

left-associative

11

&

left-associative

12

^

left-associative

13

|

left-associative

14

&&

left-associative

15

||

left-associative

16

?:

right-associative

17

=, *=, /=, %=, -=, <<=, >>=, >>>=, &=, ^=, |=

right-associative

Explanation:

hope it right

Similar questions