期刊文献+

Java和C++的继承剖析

The Analysis on Inherition of Java and C++
在线阅读 下载PDF
导出
摘要 C++支持类的多继承,Java采用类的单继承。Java中引入了接口,它定义了一组协议规范,将方法的实现部分放到类中完成,从而将接口继承与实现继承分开。 The Mono Inherition of Class is used in Java,while C++ can apply Mutli-lnherition of Class,And Interface which defines a :oup of conference standards is also introduced in Java,so that the realization of methods can be perfected in the Classes,and the Interface-Inerition can disfingnish with hnplementation -Inherition.
作者 周磊
出处 《电脑知识与技术》 2006年第5期161-162,共2页 Computer Knowledge and Technology
关键词 继承 多继承 接口 inherition Mutli- Inhefidon interface
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部