Jump to content
You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality.
Member
Enjoy! Upvote if you want more
New Member
cool
Addicted
ty goat
Advanced Member
thanks
Lurker
public class Point { private int x; private int y; public Point(int xCoord, int yCoord) { x = xCoord; y = yCoord; } public void move(int dx, int dy) { x += dx; y += dy; } public String toString() { return x + ", " + y; } }
A nice one
tnx
Users browsing this thread: and 1 guests