隨筆-8  評(píng)論-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) 評(píng)論(0)  編輯  收藏

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 阿克苏市| 盐山县| 嘉义市| 扬州市| 敦化市| 响水县| 洛川县| 油尖旺区| 韶山市| 柳江县| 西充县| 百色市| 南投县| 磐石市| 固始县| 大埔县| 义马市| 巴中市| 祁阳县| 德清县| 武强县| 尚义县| 凤冈县| 涡阳县| 常熟市| 伊吾县| 佛山市| 黑河市| 青河县| 彝良县| 南丰县| 武清区| 同仁县| 兰溪市| 雅安市| 河北省| 长宁区| 苍山县| 兴义市| 石屏县| 凯里市|