class Point(x, y) method move(dx, dy) self.x +:= dx self.y +:= dy end method print() write("Point(", self.x, ", ", self.y, ")") end end procedure main() p := Point(10, 20) p.print() p.move(5, -3) p.print() end