InterviewSolution
Saved Bookmarks
| 1. |
Which of these exceptions will occur if we try to access the index of an array beyond its length?(a) ArithmeticException(b) ArrayException(c) ArrayArguementException(d) IndexOutOfRangeExceptionThis question was addressed to me in final exam.The question is from Exceptions of Type Finally and Built in Exceptions in chapter Indexers and Exception Handling of C# |
|
Answer» The CORRECT option is (d) IndexOutOfRangeException |
|