I was surfing in SO & I found syntax in Java as below:
String.class.getDeclaredField("value");
I could not understand how it works
Example:
In System.out.println(); out is static variable in System class of PrintWriter 
Can any one explain what String.class.getDeclaredField("value"); and it's returning object of Field class means?
I just looked & I couldn't find class property(field) in String class.
What is it actually doing?
Thanks in advance.
 
     
     
    