期刊文献+

Java反射技术浅谈 被引量:1

Introduction of Java Reflection Technology
在线阅读 下载PDF
导出
摘要 反射是指程序可以访问、检测和修改它本身状态或行为的一种能力。通过反射,Java程序可以加载一个运行时才得知名称的class,得到其完整内部信息,并创建其对象,或对其属性进行设值,或调用其方法。反射是提高Java程序的灵活性和可扩展性至关重要的技术,它使得Java软件系统具有自适应能力。 Reflection refers to an ability that the program can access, detect and modify its own state or behavior. Through reflection, Java programs can load a class knows its name just when running it, get its full internal information, then generate its instance, or set the values of its fields, or call its methods. Reflection is a critical technology to improve the flexibility and scalability of Java programs, it makes that Java software system has a self-adaptive ability.
作者 刘凯立
出处 《科技广场》 2010年第3期130-134,共5页 Science Mosaic
关键词 反射 构造器 属性 方法 数组 Reflection Constructor Method Field Array
  • 相关文献

参考文献3

二级参考文献1

共引文献28

同被引文献1

引证文献1

二级引证文献17

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部