摘要
举例子比较C++的多继承和Java中的接口,从接口克服多继承的缺陷方面理解接口概念,学习接口使用方法。
It is illuminated that interface overcomes the deficiencies of multiple inheritance by giving an example to compare interface in Java with multiple inheritance in C++.We can understand interface conception by this example.
出处
《阴山学刊(自然科学版)》
2009年第4期36-38,共3页
Yinshan Academic Journal(Natural Science Edition)
关键词
接口
多继承
类
Interface
Multiple Inheritance
Class