摘要: 介绍 代码 接口 创建 Shape 接口 public interface Shape { void draw(); } 实现类 创建 Shape 接口的三个实现类:Cirle、Rectangle、Square public class Circle implements Shape { @Over 阅读全文
posted @ 2023-12-23 12:36 Frodo1124 阅读(8) 评论(0) 推荐(0) 编辑