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
Related Questions
Q35: If an existing text file is opened
Q36: Which exception will the following code generate?
Q37: Text files are updated by opening them
Q38: If the value of IO.File.Exists(filespec) is True,
Q39: The code in a Try block refers
Q41: Element names are case sensitive.
Q42: Comment statements in XML begin with