初級4-1 隊列棧題目

  題目四:貓狗隊列 【題目】 寵物、狗和貓的類如下: public class Pet { private String type; public Pet(String type) { this.type = type; } public String getPetType() { return this.type; } } public class Dog extends Pet { publ
相關文章
相關標籤/搜索