Multiple Choice
Which exception will the following code generate?
Dim num1 As Integer, num2 As Integer = 1000000
num1 = num2 * num2
A) NullReferenceException
B) ArgumentOutOfRangeException
C) OverflowException
D) InvalidCastException
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q21: In order to use the OpenFileDialog control,
Q22: Each record of the file UN.txt contains
Q23: If the value of IO.File.Exists(filespec) is True,
Q24: Which one of the following is NOT
Q25: If an existing text file is opened
Q27: Consider the following code. The Catch block
Q29: When using Try-Catch-Finally blocks, the programmer is
Q30: When a text file is created in
Q31: What property is set to False in
Q40: The following statement could be used to