Java内部类的研究及应用  被引量:2

Research and Application on Java Inner Class

在线阅读下载全文

作  者:郭广军[1] 陈代武[1] 王剑波[1] 

机构地区:[1]湖南人文科技学院计算机科学技术系,湖南娄底417000

出  处:《湖南人文科技学院学报》2007年第6期32-38,共7页Journal of Hunan University of Humanities,Science and Technology

基  金:湖南省教育厅资助项目(07C382;05C758);湖南省青年骨干教师基金(湘教通[2006]252号);湖南省重点建设学科;湖南人文科技学院资助教改研究重点项目(RKJGZ0708)的资助

摘  要:给出了Java内部类(Inner Class)的定义,在对其分类研究的基础上,分析了成员类、局部类和匿名类的基本特性、约束规则和引用方法,给出了各种内部类的使用方法、访问控制和应用实例。使用内部类简化了程序设计,符合信息隐藏原则,提高了程序的安全性、可理解性和运行效率。在Java面向对象技术(Object-Oriented Technique,OOT)教学与应用开发中收到了好的效果。First present the definition of Java inner class. And on the basis of classifying study, classify Java inner class, analyze the basic characteristics, constraint rules and reference methods of the member class, local class and anonymous class. Finally present the use methods, access control and application examples. By using inner class, Java programming is predigested. It accords the principle of information hiding, improves security, understandability and run efficiency of Java program. Receive better effect in teaching and application development of Java Object-Oriented Technique.

关 键 词:内部类 匿名类 特性 约束 引用 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象