如何将char[]转换成String类型的数据
谢谢
------解决方案--------------------数组转字符串?
具体点
------解决方案--------------------char[] c={ 'a ', 'b ', 'c '};
String s=new String(c);
------解决方案--------------------char[] ch = { 'a ', 'b ', 'c '};
System.out.println(new String(ch));
------解决方案--------------------JPasswordField jpf = new JPasswordField();
String s=new String(jpf.getPassword());
------解决方案--------------------String.ValuOf()
------解决方案--------------------ch.toString();
------解决方案--------------------String a=new String(new JPasswordField().getPassword());