1  public class Point {
2    public int x = 0;
3    public int y = 0;
4    // a constructor!
5    public Point(int x, int y) {
6      this.x = x;
7      this.y = y;
8    }
9  }

Generated with vim2html
Copyright © 2003-2004 by Chip Cuccio <http://norlug.org/~chipster/finger>