hi all,

I was working with excel api and java! as a part of it, i need to dump excel sheet cells to an multi dimenional array!

my alogrithms is like this, i dont know where im going wrong! can some one please enlighten me.

1. created an array of size row X column

2. for loop ( i initialized to zero, and less than column-1 and increment)
forloop (j initialized to zero, and less that row-1, incremett)

//copy contents from cell [i][j] to a[i][j]

its throwing array bounds exception and result is just column numbers!

don't know where i have gone wrong.

thanks in advance