🎴 Flashcard Mode

VB.NET Arrays, Structures, Controls, and Menus

Card1 / 15
Mastered0
Review0
QuestionClick to flip

In the statement, Dim Days(7) as String, what part of the array does the number 7 refer to?

AnswerClick to flip back
A
Upperbound
💡 Explanation:

In VB.NET array declaration syntax, the number in parentheses specifies the upper bound index. Dim Days(7) creates an array with indices 0 through 7, totaling 8 elements. The 7 represents the highest valid index position.

Change Mode