Computer Science, asked by hirangipatel2012, 1 month ago

What will be the value of ‘ x’ if x = x *y+ 5, if x = 2 and y = 2 ?in java ​

Answers

Answered by akshatgupta099
1

Explanation:

x = 2×2+5 = 4+5 = 9.

Multiplication has higher precedence order so it will be executed first.

Similar questions