given m=5; m*=5 then value stored in m results in 55 in java
Answers
Answered by
0
Explanation:
You sure it's 55 and not 25??
See, *= is a multiplication operator, it multiplies the value present in the right side to the left side and store it in the variable present in right side. That's why value got changed.
In this case,
m*=5;
which means,
m=m*5
and m is equal to 5 so,
m=5*5
so, m should be 25.
Similar questions