What will be the output of the following Java Program ?
Answer :
Choice B is correct
x *= 3 + 7; is same as x = x * (3 +7) = 5 * (10) = 50 because expression on
the right is always placed inside parentheses.
About akash jain
Akash is a software developer with keen interest in software automation and dev-ops. When not coding, he is either busy browsing articles or reading anything or everything under this planet.
No comments:
Post a Comment