Typo in the Autoboxing tutorial

XMLWordPrintable

    • Type: Bug
    • Resolution: Delivered
    • Priority: P4
    • None
    • Affects Version/s: 8
    • Component/s: docs
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      Hi! I believe there's a typo in Autoboxing (https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html) tutorial.
      In this excerpt:
      "sum += i;
              return sum;
      }
      Because the remainder (%) and unary plus (+=)"
      (+=) is called unary plus, but it obviously takes 2 arguments and should be called binary


            Assignee:
            Raymond Gallardo
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: