The construction method of string is clearly written: the general usage is:
//这样就从char数组变为了字符串 char st[]=new char[20]; String str=new String(st);