On Wed, 26 Sep 2001, Pedro José Gil Villar wrote:
> // Print the data from the ArrayList
> for (i = 0; i<10; i++) {
> c.al.add(i,c.d);
Delete this line.
> System.out.println("End: " + ((Double) c.al.get(i)).toString());
> }
>}
>
I've got a problem, probably an easy one, but i can't manage to solve it
:-(
I try to fill an ArrayList and then print it, but since Java pass only
handles to object, he just keep the last value for every item in the
ArrayList. I've read something about clone, but i can't make it