Delete ArrayStoreExceptionExample.java
This commit is contained in:
parent
da1d54699f
commit
935b4c1278
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue