文件名称:JAVA-Reflection
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:34.59kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Reflection 是Java被视为动态(或准动态)语言的一个关键性质。这个机制允许程序在运行时透过Reflection APIs取得任何一个已知名称的class的内部信息,包括其modifiers(诸如public, static 等等)、superclass(例如Object)、实现之interfaces(例如Cloneable),也包括fields和methods的所有信息,并可于运行时改变fields内容或唤起methods。本文借由实例,大面积示范Reflection APIs。-Reflection is Java is seen as a critical nature of the dynamic (or quasi-dynamic) languages . This mechanism allows the program to obtain internal information of a known name of the class, including its modifiers (such as public, static, and so on) at run time through the Reflection APIs for the superclass (for example, Object) implementations of the interfaces (such as Cloneable), also include all the information in the fields and methods, and can change at runtime the fields content or to arouse methods. This article by by the instance, a large area demonstration Reflection APIs.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
JAVA Reflection.pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.