如图 Button.class.getName()是什么意思?
4 回答
有只小跳蛙
TA贡献1824条经验 获得超8个赞
/**
* Returns the name of the class represented by this {@code Class}. For a
* description of the format which is used, see the class definition of
* {@link Class}.
*/
public String getName() {
String result = name;
return (result == null) ? (name = getNameNative()) : result;
}
返回此Class对象所代表的实体的名称,就是 Button
添加回答
举报
0/150
提交
取消