Answer to Question #50512 in Visual Basic for Bender
Which of the following statements declares a valid rectangular array?
a. Dim ra As String
b. Dim ra(4,4) As String
c. Dim ra( ) ( ) As String
d. Dim ra( )( ) As String(4)(4)
Answer: B An array isa set of values that are logically related to each other, such as the number of students in each grade in a grammar school. You candefine the size of an array several ways. You can supply the size when the array is declared. So, A – isscalar variable (is not consist brackets) B– is array 4x4; C– is declare array variables but don’t assign arraysto them, and must be still create an array, initialize it, and assign it to the variable; so, it might be isn’t rectangle D– is mistake description of variable