One and two dimensional arrays in data structure
Answers
Answered by
0
Two-dimensional Arrays. ... A 2D arrayhas a type such as int[][] or String[][], with two pairs of square brackets. The elements of a 2D array are arranged in rows and columns, and the new operator for 2D arrays specifies both the number of rows and the number of columns. For example, int[][] A; A = new int[3][4];
Similar questions
Math,
7 months ago
Science,
7 months ago
Geography,
7 months ago
English,
1 year ago
Social Sciences,
1 year ago