返回列表 發帖

[隨堂測驗]物件導向基礎概念 (三)

定義一Dog類別, 包含建構子及兩個方法.
showProfile() 用來顯示基本資料, makeSound(int n) 用來發出聲音.

返回列表