什么算自己声明的呢?
什么算自己声明的呢?
什么算自己声明的呢?
2015-03-26
我觉得,就是声明了的,存在的,都算declared,不管修饰符,这个是getdeclaredFields()方法的官方解释:
Returns an array of Field objects reflecting all the fields declared by the class or interface represented by this Class object. This includes public, protected, default (package) access, and private fields, but excludes inherited fields.
但是不包括继承的成员变量。
举报