String a ="1233abc"; //String变量 byte b[] =a.getBytes(); //String转换为byte[]; String c = new String(b); //byte[]转换为String;