The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. Which of the following If clauses determines whether the intSub variable contains a valid subscript for the array?
A.
If intSales(intSub) >= 0 AndAlso intSales(intSub) < 4 ThenB.
If intSales(intSub) >= 0 AndAlso intSales(intSub) <= 4 Then
C.
If intSub >= 0 AndAlso intSub < 4 Then
D.
If intSub >= 0 AndAlso intSub <= 4 Then
Answer: Option B

Join The Discussion