When is the ArrayStoreException thrown?

Q

When is the ArrayStoreException thrown?

✍: Guest

A

When copying elements between different arrays, if the source or destination arguments are not arrays or their types are not compatible, an ArrayStoreException will be thrown.

2012-09-05, 2167👍, 0💬