Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class Point {
private int x;
private int y;
public Point() {
x = 0;
y = 0;
}
public Point( int x, int y ) {
this.x = x;
this.y = y;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment