.撰寫一個 Person類,其中包括人的姓名、性別、年齡、子女等屬性,并封裝有獲得姓名、獲得年齡、增加1歲、獲得子女、設定子女等方法,其中,子女為一個Person陣列。用某實際資料測驗該類的設計.
uj5u.com熱心網友回復:
自己去看書
uj5u.com熱心網友回復:
name,nickname,othername,historyNames[],sex,historySex[],birthday,age,childs[],father,motheraddChild,addAge
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/276473.html
標籤:基礎類
上一篇:兩階段排樣圖
