}
}
}
运行时提示 作者: pthuakai 时间: 2013-5-20 18:53
如下错误。
5
Exception in thread "main" java.lang.IllegalAccessException: Class enhance_day1.ReflectTest1 can not access a member of class enhance_day1.ReflectPoint with modifiers "private"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
at java.lang.reflect.Field.doSecurityCheck(Field.java:960)
at java.lang.reflect.Field.getFieldAccessor(Field.java:896)
at java.lang.reflect.Field.get(Field.java:358)
at enhance_day1.ReflectTest1.main(ReflectTest1.java:20)作者: FantasticPie 时间: 2013-5-20 18:59 本帖最后由 FantasticPie 于 2013-5-20 19:02 编辑