package 鸟类与企鹅(LSP); /** * @author 方初阳 * @version 1.0 * @created 23-10月-2025 20:28:08 */ class Bird { private int age; private String gender; private String species; public Bird(){ } public void finalize() throws Throwable { } /** * 楦熺被杩涢琛屼负锛堟墍鏈夐笩鍏辨湁鐨勮涓猴級 */ public void eat(){ } public int getAge(){ return 0; } public String getSpecies(){ return ""; } /** * * @param s */ public void setAge(int s){ } public String toString(){ return ""; } }//end Bird