Line Initialization of a Bidimensionnal array
Hi everyone,
I have this array :
double[][] points;
I know I can initialize it that way :
double[][] points = {{100,100},{120,100}}
I wonder if I can do something like that :
points[0] = {100, 100};
points[1] = {200,200};
and so on ...
Compiler insults me when I try to do this :)
Because when I do :
double[][] points = {{100,100},{120,100}}
I can get the value of points[0].
So i was thinking there might be away to set the value of points[0] ...
What is the correct syntax ?
Thanks in advance
Bracame.

