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