Computer Applications
The statement n += 4 is equivalent to:
- ++n
- n=n+4
- n+1
- None
Java Operators
43 Likes
Answer
n=n+4
Reason — Here, += is a Shorthand operator. It can be used to write a Java expression into short form provided same variables are used after and before the assignment sign (=).
Answered By
8 Likes