woruyu
woruyu

class Point { field int x,y,z; static int pointCount; constructor Point new(int ax,int ay){ let x= ax; let y = ay; let pointCount = pointCount + 1; return this; }...
class Main { function void main() { var Point p1,p2; var int d; let p1 = Point.new(2,3); let p2 = Point.new(5,7); let d = p1.plus(p2); // 7 } }