Search:

Type: Posts; User: ojonugwa

Search: Search took 0.09 seconds.

  1. Re: Can someone explain the logic behind looping through multidimensional arrays?

    Thanks.That explains a lot
  2. Re: Can someone explain the logic behind looping through multidimensional arrays?

    ehm,
    index1 = the index of the first element (row) in the array, say numbers[0][1], no?
    index 2 = the index of the first element (column) in the array
    numbers = the array
    numbers[i]= the current...
  3. Can someone explain the logic behind looping through multidimensional arrays?

    Let say i have this code:


    public class ArrayDemo {
    public static void main (String[]args) {

    int [][] numbers = {{5,3,2},{7,5,3}};
    int sum=0;
    int index1;...
Results 1 to 3 of 3