隨筆-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)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 寻甸| 鄢陵县| 来凤县| 自贡市| 周至县| 青浦区| 东兴市| 延安市| 元氏县| 晋江市| 泉州市| 张家港市| 郴州市| 红安县| 惠安县| 舒兰市| 原平市| 牟定县| 平原县| 文安县| 霍城县| 渝中区| 封丘县| 社会| 古蔺县| 新巴尔虎右旗| 确山县| 普兰店市| 安龙县| 体育| 固镇县| 阳东县| 米泉市| 武邑县| 当涂县| 桓台县| 桃源县| 衡阳县| 宁陵县| 巴东县| 禹城市|