MyPoint p; void setup(){ p = new MyPoint(10.,20.); println("x = " + p.x + " y = " + p.y); }