Array init
I am getting lot compilation errors while compiling the program below
publicclass LoadData
{
publicstaticvoid main(String args[])
{
float invt[][];
float []prct, grts[];
float [][] sms , hms[];
hms =newfloat[2][5];//Getting Compilation error on this line
}
}
I'm specifically interested to know why the line "hms = new float[2][5];" fails in compilation.
Can anybody please explain this to me?
Thanks
Kiran

