Java array index out of bounds exception 0 July 8, 2019 16 32 64 128 Array index out of bounds exception in java Java.lang.indexoutofboundsexception index 0 out of bounds for length 0 Index 2 out of bounds for length 2 Index was outside the bounds of the array sql Index in position 1 exceeds array bounds. index must not exceed 1