Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    1,166

    Re: what does this line mean?

    if (nums[i] == nums[i+1] && nums[i] == nums[i+2]) {
    To keep the above code (in red) from going off the end of the array.
  2. Replies
    5
    Views
    1,166

    Re: what does this line mean?

    Take a look at the tutorial: The for Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)

    or ask google. Many modern languages use the same syntax in for statements.
Results 1 to 2 of 2