首页 | 本学科首页   官方微博 | 高级检索  
     

“this”在Java中的应用分析
引用本文:陈隽.“this”在Java中的应用分析[J].电脑编程技巧与维护,2009(24):12-13.
作者姓名:陈隽
作者单位:江苏淮安市行政学院,淮安,223001
摘    要:Java提供了丰富的类(Class)、接口(Interface)以及相应的方法(Method)。使用这些类或接口,用户可以定义自己的类或子类,并以这些类为模板创建对象(Objec)t。关键字"this"与"对象"密切相关,并使程序设计变得规范、简单、灵话。但在使用过程中,在不同场合其含义不完全相同,使用不当还会出现错误,对"this"的几种主要用法和出现的问题进行了分析。

关 键 词:  对象  this

"this" in Java Application Analysis
CHEN Juan."this" in Java Application Analysis[J].Computer Programming Skills & Maintenance,2009(24):12-13.
Authors:CHEN Juan
Affiliation:CHEN Juan (Huai'an Administrative College, Huai'an 223001)
Abstract:Java provides a rich class,interface and the corresponding method,by these classes or interfaces,users can define their own classes or sub-categories,and to these classes as a template to create the object.Keyword "this" and " object" is closely related to,and make program design has become standard,simple,spiritual words.However,the use of the process,on various occasions,its meaning is not identical to,improper use will be an error,the paper "this" usage and several major problems were analyzed.
Keywords:this
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号