
whis is the ArrayStoreException in java? or define ArrayStoreException with exp?

ArrayStore Exception occurs, when you assign an array which is not compatible with the data type of that array.
Example
class ArrayStoreExceptionExample
{
public static void main(String[] args)
{
try{
Object x[] = new String[3];
x[0] = new Integer(0);
}
catch(Exception e){
System.out.println(e);
}
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.