yes!! ArrayIndexoutOfBoundsException is going to occur since the a element will try to access the zeroth element of 'a' array whose length is 0 itself.the last element of such array is 0-1 =-1 itself.
------------<BR>Suraj Berwal<BR>Sun Certified Programmer for Java 2 Platform
Not looking good. I think this might be the end. Wait! Is that a tiny ad?