your code is askings for args[0] which is the first element of the array (args[1] being the second etc.)
if args is emtpy, then asking for the first item will give you an array bounds exception! On 4 Nov, 09:28, "VIKAS GARG" <[EMAIL PROTECTED]> wrote: > I got what you are trying to say > but fnd I think you are not getting my problem > > But this errorIndex was outside the bounds of array > comes whenever our array crosses the limit of array > and here we are not crossing the limit of array.
