Solved

Which of the Following Is a Three-Dimensional Array

Question 49

Multiple Choice

Which of the following is a three-dimensional array?


A) var SIZE = 5000000;
Var numberArray = new Array(SIZE) ;

B) Declare Constant SIZE = 1000
Declare Numeric empNumber[SIZE]
Declare String empLastName[SIZE], empFirstName[SIZE]
Declare Numeric index
Declare String moreInput = "Y"
For index = 0 to SIZE - 1
EmpNumber[index] = 0
EmpLastName[index] = ""
EmpFirstName[index] = ""
End For

C) var ROWS = 4;
Var COLUMNS = 6;
Var scores = new Array(ROWS) ;
For (index = 0; index < ROWS; index++) {
Scores[index] = new Array(COLUMNS) ;
}

D) var cube = new Array() ;
Cube[0] = new Array() ;
Cube[0][0] = new Array() ;

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents