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.

- 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


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!