Search:

Type: Posts; User: Mr.777

Search: Search took 0.19 seconds.

  1. Replies
    4
    Views
    1,211

    [SOLVED] Re: where I'm wrong?

    And what array[index].length will return you? Don't you think, it'll return the array size of what you called array of array?
  2. Replies
    4
    Views
    1,211

    [SOLVED] Re: where I'm wrong?

    Paste the exception/errors message here.

    result = new int[lb][lb];

    lb = 2 and result is now result[2][2]. Why do you expect it, not to throw array out of bound exception?
Results 1 to 2 of 2