Hello every one!
Actually i am a kickbhut in C.
I just started to learn
Java., And directly preparing for OCJP6 Certification.
In Kathy-Sierra book, and as well as in exam syllabus also, there's no Operator's precedence matter.
But i was in fully confused when i saw the Java Operators precedence table from Documentation.
From my C-Language: Operators(44) precedence table
1) () [] .(dot)
2)Unary: ++pre/--pre, -, +, (cast)
3)Arithmetic
4)bitshift
5)relational
6)bitwise
7)logical
8)ternary Operator
9)Assignment operators
10) unary post++/post--
Java Operators precedence table
Operators Precedence
1)postfix expr++ expr--
2)unary ++expr --expr +expr -expr ~ !
3) arithmetic
4)shift << >> >>>
5)relational < > <= >= instanceof
equality == !=
6)bitwise AND &
bitwise exclusive OR ^
bitwise inclusive OR |
7)logical AND &&
logical OR ||
8)ternary ? :
9)assignment = += -= *= /= %= &= ^= |= <<= >>= >>>=
Please some one clarify me!