JAVA 反射(1)

getDeclaredField是可以获取一个类的所有字段. 
getField只能获取类的public 字段. 

原文地址:https://www.cnblogs.com/Dhouse/p/6606203.html