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:
Verified
Q61: Consider the following code snippet:
Q62: Consider the following 2-dimensional array.Which expression gives
Q63: Why is the use of physical objects
Q64: What is the output of the following
Q65: Which one of the following is the
Q67: Assume the following variable has been declared
Q68: Consider the following code snippet:
Q69: Consider the telephone book as a physical
Q70: Consider the following code snippet:
int val =
Q71: Assume the following variable has been declared
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