Eiffel与Java继承机制的比较  

Comparison of Inheritance Mechanism in Eiffel and Java

在线阅读下载全文

作  者:戎戟[1] 

机构地区:[1]南京交通职业技术学院信息工程系,江苏南京211188

出  处:《科技广场》2007年第7期240-241,共2页Science Mosaic

摘  要:Eiffel全面支持类的多重继承。多重继承更能真实地描述现实世界中的抽象层次,但其语法规定和语义实现较为复杂。Java仅支持类的单一继承,但可通过接口实现多重继承的部分功能。接口易于操作,但存在不一致性问题。Eiffel complctely supports multiple inheritance among classes. Multiple inheritance can better describe abstract hierarchy in the real world and thus brings complexity both in syntax and semantics. Java only supports single inheritance among classes but may partially realize the functionality of multiple inheritance through interface. It is easy to handle interface but there is inconsistency of interfaces.

关 键 词:继承 多重继承 接口 EIFFEL 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象