+=

What does "+=" do? I have this:

[code]i += s.charAt(j);[/code]

Comments

  • : What does "+=" do? I have this:
    :
    : [code]: i += s.charAt(j);[/code]:
    :
    += is a shortcut for:
    [code]
    i = i + s.charAt(j);
    [/code]
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion