Q. If a negative value is used for an array index, ____. (A) a NumberFormatException is thrown (B) the program terminates immediately (C) the last index of the array is automatically accessed instead (D) an IndexOutOfBoundsException is thrown ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (D) an IndexOutOfBoundsException is thrown