12
Reply

What is Jagged Arrays?

Sumit Jolly

Sumit Jolly

10y
1.2k
0
Reply

    jagged arrays are arrays of array. it has different dimensions

    jagged array is array of array. its can be of different sizes of dimension.

    Simply a jagged arrays is 2-D array in which the number of column in each row may be different..

    It had different dimensions but only rows will be taken but not columns for ex: a[3][2] it will be having only row values.

    It had different dimensions but only rows will be taken but not columns for ex: a[3][2] it will be having only row values.

    Collection of Arrays of array is called jagged array

    It is an array of array which have different dimension in each array

    It is an array of array which have different dimension in each array

    It is an array of array which have different dimension in each array

    It is an array of array which have different dimension in each array

    A Jagged array is an array whose elements are also arrays. It can be of different sizes and dimensions. e.g. int[][] _array = new int[5][]; _array [0] = new int[2]; _array [1] = new int[3]; _array [2] = new int[5]; _array [3] = new int[3]; _array [4] = new int[4];

    The array which has elements of type array is called jagged array.