JAVA
Reflection in Java
Overview In this blog we will cover following points What is Reflection API. Using private methods Using private fields Sample Code Reflection API Reflection allows instantiation of new objects, invocation of methods, and get/set operations on class variables dynamically at run time without having prior knowledge of its implementation. Real World Example: Take for example your typical web.xml file. This will contain a list of servlet elements, which contain nested servlet-class elements. The servlet container Read more…