Search:

Type: Posts; User: incxx

Search: Search took 0.14 seconds.

  1. Replies
    4
    Views
    1,257

    Re: java.lang.ArrayIndexOutOfBoundsException error

    I understand why that was happening now! Thank you so much for your explanation, it helped a lot. I have applied your corrections and it works perfectly. Thanks!
  2. Replies
    4
    Views
    1,257

    Re: java.lang.ArrayIndexOutOfBoundsException error

    This is what is on that line:

    while (newArray[j][mydimension] > pivot[mydimension]) {
    j--;
    }

    I believe my problem may be when I add 1 to the dimensions in the constructors,...
  3. Replies
    4
    Views
    1,257

    java.lang.ArrayIndexOutOfBoundsException error

    I have an object and client class created which prints coordinates in order of their distance from the origin. The client class asks the user how many dimensions they want the array to have (x,y or...
Results 1 to 3 of 3