March 2002
Intermediate to advanced
480 pages
18h 40m
English
ArrayIndexOutOfBoundsException
This exception signals an attempt to access an element of an array using an index that is negative or greater than or equal to the number of elements in the array (recall that arrays are zero-based in Java). This class is the same as its J2SE equivalent, apart from its inability to be serialized.
public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException {
// Public Constructors
public ArrayIndexOutOfBoundsException();
public ArrayIndexOutOfBoundsException( String s);
public ArrayIndexOutOfBoundsException( int index);
}
Read now
Unlock full access