Case 8-2 Another colleague shares the following code with you: Dim strEmployees(50) As String
' Later in the code
ReDim strEmployees(65) .
Which of the following lines could replace the line at the bottom of the code in the sample and retain the data in the elements 0 through 50?
A) ReDim Retain strEmployees(65)
B) ReDim Reserve strEmployees(65)
C) ReDim Restore strEmployees(65)
D) ReDim Preserve strEmployees(65)
Correct Answer:
Verified
Q81: The _ access specifier determines that a
Q83: The _ procedure of the StreamReader class
Q84: A(n)_ is an object variable that references
Q93: If a variable is declared with the
Q99: The _ procedure creates a form that
Q100: Case 8-1 One of your fellow programmers
Q101: Case 8-2 Another colleague shares the following
Q102: Case 8-1 One of your fellow programmers
Q107: When you are in a situation of
Q109: Given the following array definition
Dim intCalories()As Integer
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