What numbers will be displayed in the list box by the following code when the button is clicked?

```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim num As Integer = 7
Do
num += 1
lstBox.Items.Add(num)
Loop Until (num > 6)
lstBox.Items.Add(num)
End Sub
```
(A) 7
(B) 8
(C) 7 and 8
(D) 8 and 8

(D) 8 and 8

Computer Science & Information Technology

You might also like to view...

A PivotChart can be formatted using Chart Styles just like other Excel charts

Indicate whether the statement is true or false.

Computer Science & Information Technology

In the figure above, item 1 is ____.

A. analog signals being converted to digital data B. decompressed digital data being sent to the sound card C. the data being converted to analog signals D. analog signals being sent to the speakers

Computer Science & Information Technology