I have the following code in a program:
szOperType = new String[nRows];
for ( i = 0; i <= nRows; i++ )
szOperType[i] = "";
nRows is an integer and I previously gatter it. szOperType is an array of Strings. I am getting an ArrayIndexOutOfBoundsException when nRows == 0. I do not know why it wont let me create an array of 0...does anyone knows how??
Thank you Experts! I'll give 100 points for it! :)