The statement n += 4 is equivalent to:
43 Likes
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
A character literal is enclosed in:
A set of characters is assigned to a:
What will be the output of a++, if int a= -1;?
If int a=25, b=5, c=0; what value is stored in c when c = a%b?