Solved

Critical Thinking Questions Case 8-2

Question 34

Multiple Choice

Critical Thinking Questions
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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions