getDeclaredField是可以获取一个类的所有字段.
getField只能获取类的public 字段.
getDeclaredField和getField的区别
猜你喜欢
转载自www.cnblogs.com/zzw3014/p/9831562.html
今日推荐
周排行