Advertisements
Advertisements
Question
The precedence of operators in Java follows BODMAS.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
While BODMAS (Brackets, Orders, Division/Multiplication, Addition/Subtraction) is a widely used mathematical rule for operator precedence, Java has its own operator precedence rules that are close but not identical to BODMAS.
shaalaa.com
Is there an error in this question or solution?