摘要:反射是指程序可以访问、检测和修改它本身状态或行为的一种能力。通过反射,Java程序可以加载一个运行时才得知名称的class,得到其完整内部信息,并创建其对象,或对其属性进行设值,或调用其方法。反射是提高Java程序的灵活性和可扩展性至关重要的技术,它使得Java软件系统具有自适应能力。
注:因版权方要求,不能公开全文,如需全文,请咨询杂志社
热门期刊服务
Journal of Rare Earths Journal of Earth Science Chinese Journal of Cancer Research Asian Journal of Andrology Journal of Integrative Agriculture Journal of Iron and Steel Research International Journal of Oral Science Journal of Geographical Sciences Journal of Integrative Plant Biology Journal of Zhejiang University Science A Chinese Journal of Structural Chemistry Journal of Central South University