Delete ArrayStoreExceptionExample.java

This commit is contained in:
gupta-ashu01 2020-08-24 11:09:01 +05:30 committed by GitHub
parent da1d54699f
commit 935b4c1278
1 changed files with 0 additions and 17 deletions

View File

@ -1,17 +0,0 @@
package com.baeldung.array;
public class ArrayStoreExceptionExample {
public static void main(String[] args) {
try {
Object array[] = new String[5];
array[0] = 2;
System.out.println(array[0]);
} catch (ArrayStoreException e) {
e.printStackTrace();
}
}
}