Str转char charAt()和toCharArray() char ch=str.charAt(8); char[] chs=str.toCharArray(); char转str char[] chs2={'l','i','n','k'}; String str2=new String(chs2,0,4);