62,614
社区成员
发帖
与我相关
我的任务
分享
getPassword
public char[] getPassword()
Returns the text contained in this TextComponent. If the underlying document is null, will give a NullPointerException. For stronger security, it is recommended that the returned character array be cleared after use by setting each character to zero.
人家返回的是一个char数组,你还tostring