java中的for循环解释package chapter_fourpublic class J_StringBuffer {public static void main(String
java中的for循环解释
package chapter_four;
public class J_StringBuffer { public static void main(String args[]){ String s = "编码转换"; char [] c = s.toCharArray(); for(char tmp:c) { System.out.print("\\u"+Integer.toHexString(tmp)); } } }