Reflection gives your code access to internal information for classes loaded into the JVM and allows you to write code that works with classes selected during execution, not in the source code. This makes reflection a great tool for building flexible applications. But watch out -- if used inappropriately, reflection can be costly.The following article describes a fraction of the functionality which you can achieve with the use of reflection and I will describe how you can use reflection to modify and read otherwise not-accessible field-attributes of classes.


