Explain about Java j++
Answers
Answered by
1
Answer:
the j++ , means incrementafter evaluation, and j+=x means j=j+x so the j becomes j+1 after evaluatingj=j+j which is zero( the addition result is 0) after computation of this addition, the j is incremented by j++, but after that the addition result overrides the incremented j value by its value 0.
Similar questions