看板 [ java ]
討論串[問題] private繼承問題
共 17 篇文章

推噓2(2推 0噓 0→)留言2則,0人參與, 最新作者zanyking (最後的六年級生)時間10年前 (2014/07/23 12:23), 編輯資訊
0
0
1
內容預覽:
我想我對繼承的理解跟你是比較接近的。. 我自己是從2個事實與幾個經驗去理解繼承:. 1. 繼承的時候,sub class會從super class 既有的member context上再去疊加. 自己的東西。. 2. sub class 要存取super class的東西得通過修飾判定,標為priv
(還有706個字)

推噓1(1推 0噓 7→)留言8則,0人參與, 最新作者JustinHere (良葛格)時間10年前 (2014/07/25 08:08), 10年前編輯資訊
0
0
4
內容預覽:
http://en.wikipedia.org/wiki/Inheritance_(object-oriented_programming). Inheritance should not be confused with subtyping.[1] In some languages. inher
(還有878個字)