πŸ“Š Visual Basics
Q. What is wrong with the following statement?
Code:
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()
πŸ’¬ Discuss
βœ… Correct Answer: (D) array name should be strCities()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
193
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Vinay
Publisher
πŸ“ˆ
80%
Success Rate