package java_lecture; import java.util.*; import java.lang.*; class Point{ private int x, y; public Point(int x, int y){ this.x=x; this.y=y; } public String toString(){ return "("+x+","+y+")"; } } public class PointVectorEx { public static void main(String[] args) { Vector v = new Vector(); v.add(new Point(2,3)); v.add(new Point(-5,20)); v.add(new Point(30,-8)); v.remove(1); for (int i = 0; i