diff --git a/Sparrow.java b/Sparrow.java new file mode 100644 index 0000000..2b09e06 --- /dev/null +++ b/Sparrow.java @@ -0,0 +1,45 @@ +package 鸟类与企鹅(LSP); + + +/** + * @author 方初阳 + * @version 1.0 + * @created 23-10月-2025 20:28:56 + */ +class Sparrow extends Bird implements Flyable { + + private int maxFlyHeight; + private double wingSpan; + + public Sparrow(){ + + } + + public void finalize() throws Throwable { + super.finalize(); + } + @Override + public void fly(){ + + } + + public void forage(){ + + } + + public int getMaxFlyHeight(){ + return 0; + } + + public double getWingSpan(){ + return 0; + } + + public void getFlySpeed(){ + + } + + public void land(){ + + } +}//end Sparrow \ No newline at end of file