public String(char[] value)字符串就是字符数组。
public String (char[] value,int offset,int count)将字符数组中的所有内容变成字符串。
public char charAt(int index),取得索引位置的字符。0为起始位置。
toChararray 将字符串变为字符数组
字符串和字符数组的互相转换是重点内容
System.out.promtln(new String(data,5,5))//部分转换
System.out.println(new String(data))实现字符数组转换成字符串。
调用String类,返回结果就一定是字符串