diff --git a/ShapeConverter.java b/ShapeConverter.java new file mode 100644 index 0000000..1a77684 --- /dev/null +++ b/ShapeConverter.java @@ -0,0 +1,19 @@ +package ս2; + +import 2.Shape; + +/** + * 图形转换接口 + * @author The Administrator + * @version 1.0 + * @created 26-10-2025 14:20:13 + */ +interface ShapeConverter extends Circle, Ellipse { + + /** + * + * @param shape + */ + public Shape convert(Shape shape); + +} \ No newline at end of file