sop("----------------------------");
//4.将字符串转换成字节数组:
String nam = "jackfrank";
byte[] bn = nam.getBytes();
for(int i = 0; i < bn.length; i++){
sop("bn--" + bn[i]);
}
//5.将基本数据类型转换成字符串
sop("---------------------------------");
int a = 10;
double b = 11.5;
String c = String.valueOf(a);
String d = String.valueOf(b);
String e = 5 +""; //也可以转
sop(c);
sop(d);