题目内容

请阅读下面程序性,程序运行结果中在“length=”后输出的值是()public class Test {public static void main(String[] args) {StringBuilder strb=new StringBuilder("test");System.out.println("builder="+strb);System.out.println("length="+strb.length());}}

查看答案
更多问题

用()括起来的字符串是字符串常量,又称为无名字符串对象,由Java自动创建

求解字符串长度时,一个汉字占()个字符长度

new String("hello")实际上创建了 ()个String对象

StringBuffer类连接字符串使用的方法是()

答案查题题库