From 217281bfe38d22aee2770c968c7f6f36a54cab47 Mon Sep 17 00:00:00 2001 From: pc9arzikf <2675083410@qq.com> Date: Sun, 26 Oct 2025 13:51:33 +0800 Subject: [PATCH] ADD file via upload --- ShapeCalculator.java | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ShapeCalculator.java diff --git a/ShapeCalculator.java b/ShapeCalculator.java new file mode 100644 index 0000000..ca5ad6f --- /dev/null +++ b/ShapeCalculator.java @@ -0,0 +1,26 @@ +package 矩形与正方形(LSP); + + +/** + * 闈㈢Н璁$畻宸ュ叿绫伙紙闈?public锛? + * @author 方初阳 + * @version 1.0 + * @created 23-10月-2025 20:05:04 + */ +class ShapeCalculator { + + public ShapeCalculator(){ + + } + + public void finalize() throws Throwable { + + } + /** + * + * @param shape + */ + public double calculateArea(Shape shape){ + return 0; + } +}//end ShapeCalculator \ No newline at end of file