摘要: 这两天没事学习下了反射。通过反射我们可以修改对象中的字段的值。 就如下面这段代码 Grade grade=new Grade(); Field f=Grade.class.getDeclaredField("name"); f.setAccessible(true); f.s... 阅读全文
posted @ 2015-03-05 23:14 倾光 阅读(4927) 评论(0) 推荐(0)