class MyPoint { float x, y; // members //Constructor MyPoint(float xin, float yin){ x = xin; y = yin; } //Method void plot(){ ellipse(x,y,5,5); } }