摘要
反射是提高Java程序的灵活性和可扩展性至关重要的技术,它使得Java软件系统具有自适应能力,实现程序的动态演进。阐述了Java反射机制的原理和工作过程,并通过应用实例证明Java反射机制的强大威力和使用它应注意之处。
Reflection is one of the most important flexble programming technologies.It helps Java software system to adapt themselves to the environment in runtime. This paper introduces the principle and implement of reflection, and examples are given to show excellences and disadvantages of reflection.
出处
《软件导刊》
2008年第11期85-87,共3页
Software Guide
关键词
JAVA
反射
类替换
性能
Java
Reflection
Class Replacement
Performance