52ky 发表于 2022-10-9 12:11:36

JAVA中的反射机制

主要是指程序可以访问,检测和修改它本身状况或行为的一种才能,并能基于本身行为的状况和成果,调整或修改使用所描绘行为的状况和相关的语义。?反射是java中一种强大的工具,可以使我们很方便的创建灵敏的代码,这些代码可以再运行时安装,无需在组件之间进行源代码链接。但是反射使用不当会资源很高!

(It mainly means that a program can access, detect and modify its own status or behavior, and adjust or modify the status and related semantics of the described behavior based on the status and results of its own behavior.? Reflection is a powerful tool in Java that allows us to easily create sensitive code that can be installed at runtime without linking source code between components. However, improper use of reflection will result in high resources!)




页: [1]
查看完整版本: JAVA中的反射机制