Solved

Which Exception Will the Following Code Generate

Question 40

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions