Thrown when an attempt is made to store an object of the wrong type into an array, detected at runtime due to Java's covariant array types.
ArrayStoreException
java Thrown when an attempt is made to store an object of the wrong type into an array, detected at runtime due to Java's covariant array types.