slides/Point.java
author Christian Urban <urbanc@in.tum.de>
Sun, 05 Feb 2017 04:13:34 +0000
changeset 113 b8ba08170d79
parent 32 45557ad18ea6
permissions -rw-r--r--
hook test

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; }
}