public class B{ public static void main(String args[]){char a='b';String str=String.valueOf(a);}}
string str=new string('a');则把‘a’转换成了“a”