A form contains a button called btnDisplay, and the following code is placed inside btnDisplay’s Click event procedure. At run time, which one of the following cannot possibly be displayed in the message box when the user clicks on btnDisplay?

``` Dim rndNum As New Random()
Dim num1 As Integer
num1 = rndNum.Next(0, 3)
MessageBox.Show(CStr(num1))
```
(A) 3
(B) 2
(C) 1
(D) 0

(A) 3

Computer Science & Information Technology

You might also like to view...

A piece of paper with a pencil is the image used for the ________ icon

Fill in the blank(s) with correct word

Computer Science & Information Technology

A method defined without the word static may be sent to an instance of a class.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology