Which exception will the following code generate?

```
Dim str As String
str = "isual Basic'Substring(14,2)
```
(A) NullReferenceException
(B) ArgumentOutOfRangeException
(C) OverflowException
(D) InvalidCastException

(B) ArgumentOutOfRangeException

Computer Science & Information Technology

You might also like to view...

Which of the following technologies allows for redundant links within a Layer 2 segment?

A. OSPF B. RIP C. Port Mirroring D. Spanning Tree

Computer Science & Information Technology

?The _____ statement stops processing the commands in the current iteration of the loop and proceeds to the next iteration instead of stopping the program loop altogether.

A. ?switch B. ?else C. ?continue D. ?pass

Computer Science & Information Technology