Solved

Which One of the Following Statements Is the Correct Declaration

Question 36

Multiple Choice

Which one of the following statements is the correct declaration for a two-dimensional array of 20 rows and 2 columns of type int?


A) int[][] num = new int[20][2];
B) int[][] num = new int[2][20];
C) int[][] num = new int[20,2];
D) int[][] num = new int[2,20];

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions