隨筆-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 閱讀(190) 評論(0)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 阳江市| 大名县| 乌兰浩特市| 伊吾县| 萨迦县| 桂林市| 聂荣县| 拜泉县| 西平县| 武鸣县| 黄龙县| 关岭| 乌兰察布市| 乐昌市| 临澧县| 青州市| 大安市| 普兰店市| 曲阳县| 德惠市| 松桃| 宜兰县| 鹤峰县| 海阳市| 台安县| 延川县| 武夷山市| 梅河口市| 家居| 湖州市| 罗定市| 黎城县| 龙海市| 海南省| 六盘水市| 颍上县| 德保县| 富民县| 清镇市| 揭东县| 常宁市|