![240](https://cdn2.jianshu.io/assets/default_avatar/4-3397163ecdb3855a0a4139c34a695885.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
IP屬地:北京
復(fù)合:has a 構(gòu)造由內(nèi)而外: Container的構(gòu)造函數(shù)首先調(diào)用component的default(默認(rèn))構(gòu)造函數(shù)它匕,然后再執(zhí)行自己的構(gòu)造函...
第二周主要學(xué)習(xí)的是 class with pointer member脓恕,通過以String Class的設(shè)計(jì)來學(xué)習(xí) String類最后要實(shí)現(xiàn)如下...