What is reflection?
Is a reflection Reflection, Java reflection refers to all the information in the program can get a runtime object.
Since the load for each JVM class
creates a corresponding Class
instance, and stored in the example class
of the all information including the class name, package name, parent class, interface implemented, all of the methods, fields, etc., Thus, if the acquisition of a one Class
example, we can, through this Class
acquisition to the corresponding instance instance class
all information.
By this Class
example of obtaining class
called reflex process information.
Class examples on how to obtain a class of:
Original link: https://www.liaoxuefeng.com/wiki/1252599548343744/1264799402020448