Java Operator Precedence

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:58 PM on 11/23/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

26 Terms

1
New cards

()

Parentheses (grouping), Level 16, left-to-right

2
New cards

[]

Array access, Level 16, left-to-right

3
New cards

new

Object creation, Level 16, left-to-right

4
New cards

. ::

Member access/reference, Level 16, left-to-right

5
New cards

Posfix ++ Postfix --

Post-increment/decrement (unary), Level 15, left-to-right

6
New cards

+ -

Unary plus/minus, Level 14, right-to-left

7
New cards

!

Logical NOT, Level 14, right-to-left

8
New cards

~

Bitwise NOT, Level 14, right-to-left

9
New cards

Prefix ++ Prefix —

Pre-increment (unary), Level 14, right-to-left

10
New cards

(type)

Cast operator, Level 13, right-to-left

11
New cards

% * /

Multiplicitave, Level 12, left-to-right

12
New cards

+ -

Additive, Level 11, left-to-right

13
New cards

+ (String)

String concatenation, Level 11, left-to-right

14
New cards

<< >> >>>

Shift, Level 10, left-to-right

15
New cards

< <= > >=

relational, Level 9, left-to-right

16
New cards

instanceof

Type comparison, Level 9, left-to-right

17
New cards

== !=

Equality, Level 8, left-to-right

18
New cards

&

Bitwise AND, Level 7, left-to-right

19
New cards

^

Bitwise XOR, Level 6, left-to-right

20
New cards

|

Bitwise OR, Level 5, left-to-right

21
New cards

&&

Logical AND, Level 4, left-to-right

22
New cards

||

Logical OR, Level 3, left-to-right

23
New cards

?:

Ternary conditional operator, Level 2, right-to-left

24
New cards

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

Assignment, Level 1, right-to-left

25
New cards

→ Lamda

Lambda expression, Level 0, right-to-left

26
New cards

switch

Switch expression arrow (→), Level 0, right-to-left