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. IndexOutOfRangeException
Answer:A
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. IndexOutOfRangeException
Explanation: IndexOutOfRangeException is a built in exception that is caused when we try to access an index location which is beyond the length of an array.