摘要
代码复用是软件开发的目标之一,但仅仅能够复制代码并对之加以改变是不够的,该文将主要讨论继承、组合和接口技术在代码中的复用,以及他们之间的优缺点。
The reusing of Codes is one of the objectives of software development.But it is not enough that copying the code and changing it. This article will focus on inheritance, component and technology of interface in the reusing of Codes, as well as the advantages and disadvantages between them.
出处
《电脑知识与技术》
2009年第4X期3154-3154,3157,共2页
Computer Knowledge and Technology
关键词
复用
继承
组合
接口
reuse
succession
component
interface