Reflection in Java is a powerful tool for creating flexible code that can be assembled at run time and linked between components in a disorderly way.
Reflection allows program code to access the internal information of the class loaded into the JVM, rather than the code of the selected class collaboration in the source code, when writing and executing. This makes
Become the primary tool for building flexible applications.
Class reflection reflection in Java is one of the characteristics of the Java programming language, which allows a running Java program to detect itself , or
"Introspection" and be able to manipulate the internal properties of the program directly . This ability of Java may not be used in many practical applications, but in other programming
There is no such feature in the language at all.
Summary: Reflection is unique to the Java language, which refers to the ability of a program to access, detect, and modify its own state and behavior.
If you think reading this blog gives you something to gain, you might want to click " recommend " in the lower right corner.
If you want to find my new blog more easily, click on " Follow me " in the lower left corner.
If you are interested in the content of my blog, please continue to follow my following blog, I am " flying small Wei ", Thank you!
This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.
Understanding of Java Reflection