Java Operators | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Java Operators

Hello Friends! will you be please tell me that which operator have higher priority? thank you.

9th Nov 2017, 6:07 PM
Shivani Goyal
5 Answers
+ 11
I think Multiplication & Division
5th Feb 2018, 12:18 PM
Anuska
Anuska - avatar
+ 1
The higher priority would be the multiplication and division then, addition and subtraction. If there is only multiplication and division or addition and subtraction the first takes priority in the order they reside.
28th Nov 2020, 4:18 PM
James Byford
James Byford - avatar
0
+ , / , - , % , ;(for ending a statement i.e., at the end of the statement) , " {}......etc hope it helps! thanks! :)
2nd Aug 2020, 5:42 AM
Sunita Zirange
Sunita Zirange - avatar
0
welcome :) don't say thanks you its our duty towards a friend :)
29th Aug 2020, 6:09 AM
Sunita Zirange
Sunita Zirange - avatar