Examveda

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"

Answer: Option A


This Question Belongs to Computer Science >> Visual Basic

Join The Discussion

Related Questions on Visual Basic