Question: 12. Which of the following assigns the string Rover to the fifth element in a onedimensional array named strPetNames? a. strPetNames(4) = Rover b. strPetNames[4]
12. Which of the following assigns the string “Rover” to the fifth element in a onedimensional array named strPetNames?
a. strPetNames(4) = "Rover"
b. strPetNames[4] = "Rover"
c. strPetNames(5) = "Rover"
d. strPetNames.Items.Add(5) = "Rover"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
