Computer Applications
The statement p += 5 means p = p*5.
Java Operators
8 Likes
Answer
False
Reason ā The statement p += 5 means p = p + 5, not p = p * 5. The += operator is an addition assignment operator, which adds 5 to the current value of p and then stores the result in p. If we want to multiply p by 5, the correct statement would be p *= 5, which is the multiplication assignment operator.
Answered By
4 Likes