The result of the expression is 7. Option D
Let's break down the expression following the order of operations (PEMDAS) which represents;
- Parentheses/Exponents, Multiplication and Division, Addition and Subtraction)
The expression is given as;
25 / 4 + 4 × 10 % 3
Then, we have that;
25/4 = 6 (integer division in Java truncates the decimal part).
4 ×10 = 40
40%3 equals 1 (the remainder when 40 is divided by 3).
Now, add the values, we get;
6 + 1 = 7