Which of the following assigns the string Rover to the fifth element in a one-dimensional array named

Question:

Which of the following assigns the string “Rover” to the fifth element in a one-dimensional array named strPetNames?
a. strPetNames(4) = "Rover"
b. strPetNames[4] = "Rover"
c. strPetNames(5) = "Rover"
d. strPetNames.Items.Add(5) = "Rover"

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: