Solved

62 Q1 Which of the Following Statements Is False

Question 47

Multiple Choice

6.2 Q1 Which of the following statements is false?


A) A catch block declares a type and an exception parameter name.
B) Inside the catch block, you can use the parameter's name to interact with a caught exception object.
C) When a program is executed, array element indices are checked for validity-all indices must be greater than 0 and less than or equal to the length of the array.
D) If an attempt is made to use an invalid index to access an element, an ArrayIndexOutOfBoundsException exception occurs.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions