aboutsummaryrefslogtreecommitdiff
path: root/challenge-109/cheok-yin-fung/java/Point.java
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-109/cheok-yin-fung/java/Point.java')
-rw-r--r--challenge-109/cheok-yin-fung/java/Point.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/challenge-109/cheok-yin-fung/java/Point.java b/challenge-109/cheok-yin-fung/java/Point.java
new file mode 100644
index 0000000000..5f9d14435e
--- /dev/null
+++ b/challenge-109/cheok-yin-fung/java/Point.java
@@ -0,0 +1,19 @@
+// The Weekly Challenge - 109
+// Task 2 Four Squares(Rectangles) Puzzle
+// Supporting codes
+class Point
+{
+ private int x, y;
+ Point(int x, int y) {
+ this.x = x;
+ this.y = y;
+ }
+
+ int x() {
+ return x;
+ }
+
+ int y() {
+ return y;
+ }
+}