Hi,
The following code is from Dan Chisholm's site
When I compiled and ran this program, the output was
nullException in
thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
at A14.main(A14.java:11)
I'm not able to understand why we are getting ArrayIndexOutOfBoundsException
Can someone please explain
Thanks,
Varsha