Is there something similar to an
exists or
defined method for arrays that will not generate java.lang.ArrayIndexOutOfBoundsException?
Here are some non-working examples of what I want to do:
So, I know several ways that don't work. Is there a way to do this in
Java?
Thank you,
Vince