Examveda

An array is declared using the statement Dim inventory(4) As Product. Which of the following statements assigns the number 100 to the intQuantity member variable contained in the last array element?

A. inventory.intQuantity(4) = 100

B. inventory(4).Product.intQuantity = 100

C. inventory(3).intQuantity = 100

D. inventory(4).intQuantity=100

Answer: Option C


This Question Belongs to Computer Science >> Visual Basic

Join The Discussion

Related Questions on Visual Basic