Which one of the following statements is the correct definition for a two-dimensional array of 20 rows and 2 columns of the type integer?
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:
Verified
Q32: It may be necessary to "grow" an
Q37: What is the value of the count
Q38: Consider using a deck of cards as
Q42: Select the statement that reveals the logic
Q43: Which one of the following code snippets
Q45: Consider the following code snippet:
Int cnt =
Q51: Suppose you wish to use an array
Q73: Which one of the following statements is
Q74: How many elements can be stored in
Q82: Java 7 introduced enhanced syntax for declaring
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents