Solved

Which Statement Is the Best Solution for the Following Problem

Question 7

Multiple Choice

Which statement is the best solution for the following problem? Write a statement that initializes a two-dimensional array of Integers named intGrades. The array will have 2 rows, with 93, 91, and 84 in the first row and 85, 89, and 91 in the second row.


A) Dim intGrades(2,3) As Integer = { {93, 91, 84}, {85, 89, 91} }
B) Dim intGrades(,) As Integer = { {93, 91, 84}, {85, 89, 91} }
C) Dim intGrades() As Integer = { 93, 92, 84,85, 89, 91}
D) Dim intGrades(1, 2) As Integer = { {93, 91, 84}, {85,89, 91} }

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