Results 1 to 3 of 3

Thread: += notation

  1. #1
    sehudson's Avatar
    sehudson is offline Senior Member
    Join Date
    Mar 2010
    Posts
    354
    Rep Power
    5

    Default += notation

    what does += mean when its put into an equation in java?
    Java Code:
    Calculate(){
    
    for(int i=0; i<someValue; i++){
    
    b += x+abc +this.Calculate();
    
    }
    }

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    b = b + the rest.

    Type a similar formula and print the answer to view how it is calculated.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

Similar Threads

  1. Big O notation
    By simorgh in forum Advanced Java
    Replies: 18
    Last Post: 07-10-2010, 03:26 PM
  2. Big O notation
    By vendetta in forum New To Java
    Replies: 6
    Last Post: 01-08-2010, 07:47 PM
  3. Big O notation question
    By kira137 in forum New To Java
    Replies: 4
    Last Post: 10-14-2009, 08:07 PM
  4. Big O Notation
    By dsym@comcast.net in forum New To Java
    Replies: 1
    Last Post: 02-21-2009, 06:02 PM
  5. Big Oh Notation and Heaps
    By gibsonrocker800 in forum Advanced Java
    Replies: 8
    Last Post: 01-25-2008, 10:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •