Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Tag Archive: Reflection

Jun 21

Accessing Private Members of a Java class using Reflection

Somebody asked me that, “Is there any way of accessing private members of a Java Class?“ Then I got the idea to write this article, because Java Reflection API provides a feature for accessing private members of a Java Class. java.lang.reflect package provides the AccessibleObject class that is parent class of Constructor, Method, and Field …

Continue reading »

%d bloggers like this: