public class Polygon { int npoints; int[] xpoints; int[] ypoints; public Polygon(int n) { npoints = n; xpoints = new int[n]; ypoints = new int[n]; } }