Examveda

What is wrong with the following statement?

Dim strCities As String = {"Bombay", "Chennai", "Ladakh", "Tamil Nadu"}

A. static keyword missing

B. array elements should be initialized using single quotes

C. array elements should be in square brackets

D. array name should be strCities()

Answer: Option D


This Question Belongs to Computer Science >> Visual Basic

Join The Discussion

Related Questions on Visual Basic