attached is a very simple java example where i want to gerate classses PreCut and then i want to store them in a Arraylist preCuts.
after that i want just to access the data by system.outs.
now the data is wrong i add
precut
and newprecut.
but the data seems to be overwritten.
output is :
5
6
7
8
5
6
7
8
should be
1
2
3
4
5
6
7
8
additonally i want to know the classic for loop for reading the data not the xxxx : xxx version.
something like
for (int i=0; i < [login to view URL]; i++)
[login to view URL]() - -- all data for each class that is inside the arraylist.