Created
June 9, 2014 09:19
-
-
Save natemurthy/3c99633a3162724c87ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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