From 201c70e6d8d5374f4cecbc5712eec671266b3702 Mon Sep 17 00:00:00 2001 From: E7-87-83 Date: Sun, 25 Apr 2021 23:40:26 +0800 Subject: 2 Perl scripts ; Java application for Task 2 --- challenge-109/cheok-yin-fung/java/Point.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 challenge-109/cheok-yin-fung/java/Point.java (limited to 'challenge-109/cheok-yin-fung/java/Point.java') 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; + } +} -- cgit