标签:相互转换 hello new builder tde ring string str uil
1 StringBuilder a = new StringBuilder("This is testDemo");
2 String b = "Hello"+a; //将StringBuilder类型转换成String类型
3 StringBuilder a = new StringBuilder(a); //将String类型转换为StringBuilder类型
标签:相互转换 hello new builder tde ring string str uil
原文地址:https://www.cnblogs.com/vegetableDD/p/11651281.html