Multiple Choice
Which exception will the following code generate?
Dim str As String
str = "Visual Basic".Substring(14,2)
A) NullReferenceException
B) ArgumentOutOfRangeException
C) OverflowException
D) InvalidCastException
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
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
Q32: XML stands for<br>A) extreme markup language<br>B) excessive
Q34: Each line of the file UN.txt contains
Q35: XML files must be loaded into XElement
Q36: Which of the following terms is NOT
Q37: In a Try-Catch-Finally block, the code in
Q38: Select the example statement below that would
Q40: The following statement could be used to