[ad_1]
A statement such as points.add(new Point(2,3)); must be inside some method/constructor.
[ad_2]
solved I get an error when i try to add a new point into my ArrayList
[ad_1]
A statement such as points.add(new Point(2,3)); must be inside some method/constructor.
[ad_2]
solved I get an error when i try to add a new point into my ArrayList