Which of the following is an example of an array declaration whose data type is a user-defined object?

(A) Dim students(50) As String
(B) Dim students(50) As Student
(C) Dim students(50) As Integer
(D) Dim students(50) As TextBox

(B) Dim students(50) As Student

Computer Science & Information Technology

You might also like to view...

What is the first part to the function definition of a void function?

A. function body B. function header C. return statement D. ending comments

Computer Science & Information Technology

Given an array declaration of int anArray[1000], which of the following would be a valid heading for a method that sends the array in as a parameter?

A. void DisplayContents(int anArray) B. void DisplayContents(int anArray[]) C. void DisplayContents(int [ ] anArray) D. void DisplayContents(anArray[1000])

Computer Science & Information Technology