摘要
类是面向对象程序设计过程中应用比较多的一个概念,初学者对它的理解总是与结构化程序设计中的函数相混淆,致使最终不能正确地理解并应用面向对象程序设计的特点去开发程序。将类与传统的结构化程序设计中的函数做一简单比较,多角度分析它们的异同,以帮助大家深刻地理解这一概念,最终达到灵活地应用面向对象设计思想开发软件的目的。
The class is a conception that is applied more in the object-oriented program Design. The beginners often confound it with the function in the structured program design, which makes them can't understand it and use its characteristics to develop programs. This paper makes simple comparison of the class and the function in traditional structured program design, analyzes their differences and similarities from all sides in order to help the beginners to understand this conception deeply and use it to develop software by using the object-oriented design thought flexibly.
出处
《科技情报开发与经济》
2006年第5期250-252,共3页
Sci-Tech Information Development & Economy
关键词
类
函数
面向对象程序设计
class
function
object-oriented program design