Search:

Type: Posts; User: helloworld922

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    3,184

    [SOLVED] Re: Assigning Values to Multi Array

    Hmm, I must have been tired when I posted that (and/or crazy), but either method can actually be used to create jagged arrays. However, the other info should be accurate.
  2. Replies
    3
    Views
    3,184

    [SOLVED] Re: Assigning Values to Multi Array

    Directly initializing an N-d array can only be done when the array is first declared.

    int a[] = {1,2,3}; // understood implicitly as int a[]= new int[]{1,2,3};
    int b[];
    b = new int[]{1,2,3};
    ...
Results 1 to 2 of 2