- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Which of the following statements are correct about the exception reported below?
Unhandled Exception: System.lndexOutOfRangeException:
Index was outside the bounds of the array.
at IndiabixConsoleApplication.Program.Main(String[] args) in
D:\ConsoleApplication\Program.cs:line 14

1. The program did not handle an exception called IndexOutOfRangeException.
2. The program execution continued after the exception occurred.
3. The exception occurred in line number 14.
4. In line number 14, the program attempted to access an array element which was beyond the bounds of the array.
5. The CLR could not handle the exception.

1.1 only

2. 1, 2 and 3 only

3.2 and 5 only

4.1, 3 and 4 only

Posted Date:-2021-02-25 10:08:49


More MCQS Questions and answers

Search