隨筆-8  評論-0  文章-0  trackbacks-0
           Single inheritance precludes some useful and correct designs.The problems of multiple inheritance arise from multiple inheritance of implememtion, but in many cases multiple inheritance is used to inhert a number of abstract contracts and perhaps one concrete implementtation.Providing a means to inherit an abstract contract without inheriting an implementation allows the typing benefits of multiple inheritance without the problems of multiple implementation inheritance.The inheritance of an abstract contract is termed interface inhertiance.
          posted on 2005-08-25 02:14 hegen 閱讀(188) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 奉节县| 家居| 长岭县| 桐乡市| 行唐县| 松滋市| 东明县| 苍梧县| 天峻县| 基隆市| 平遥县| 沁水县| 宁城县| 娄烦县| 晋州市| 江城| 沙湾县| 兴业县| 北海市| 新泰市| 密山市| 秦安县| 衡山县| 烟台市| 客服| 邓州市| 大厂| 广东省| 太保市| 磐安县| 阿克陶县| 武城县| 都兰县| 广平县| 杭州市| 邵武市| 舞钢市| 嵊泗县| 安义县| 依兰县| 任丘市|