slides/Point.java
changeset 32 45557ad18ea6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/slides/Point.java	Thu Nov 10 04:02:45 2016 +0000
@@ -0,0 +1,12 @@
+public class Point {
+  private final int x, y;
+ 
+  public Point(int x, int y) {
+    this.x = x;
+    this.y = y;
+  }
+ 
+  public int x() { return x; }
+ 
+  public int y() { return y; }
+}