Skip to content

Instantly share code, notes, and snippets.

@natemurthy
Created June 9, 2014 09:19
Show Gist options
  • Save natemurthy/3c99633a3162724c87ce to your computer and use it in GitHub Desktop.
Save natemurthy/3c99633a3162724c87ce to your computer and use it in GitHub Desktop.
public class Point {
private int x;
private int y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
public int getX() { return x; }
public int getY() { return y; }
public void setX(int x) { this.x = x; }
public void setY(int y) { this.y = y; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment