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:
Verified
Q2: What happens to most controls when the
Q3: This property of a control allows it
Q4: Values in an array are stored and
Q5: Which of the following statements sorts an
Q6: Which of the following allows an application
Q8: The lowest possible subscript of an array
Q9: What is the error in the following
Q10: Which of the following code segments will
Q11: When changing the number of elements in
Q12: Which of the following provides the index
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