摘要
在Java语言中,abstract class和interface是支持抽象类定义的两种机制。正是由于这两种机制的存在,才赋予了Java强大的面向对象能力。本文对抽象类和接口的区别与联系进行了深入解析。
class and abstract class interface is to support the definition of two mechanisms. It is because of the existence of these two kinds of mechanisms, it gives a powerful object-oriented Java ability. Abstract In this paper, the distinction between classes and interfaces with the contact in-depth analysis.
出处
《电脑知识与技术》
2009年第7X期5735-5737,共3页
Computer Knowledge and Technology
关键词
JAVA
抽象类
接口
java
abstract class
interface