关于String,StringBuilder以及StringBuffer,描述错误的是()。
第1题:
A.When using versions of Java technology earlier than 5.0.
B.When sharing a StringBuffer among multiple threads.
C.When using the java.io class StringBufferInputStream.
D.When you plan to reuse the StringBuffer to build more than one string.
第2题:
String 字符串常量,StringBuffer 字符串变量(线程安全),StringBuilder 字符串变量(非线程安全)
第3题:
在VB中,以下关于符号常量的声明正确的是 ( )
A.Const TAG as String
B.Const TAG as String="Visual Basic"
C.Public TAG as String="Visual"
D.Dim TAG as String
第4题:
Whichtwo scenarios are NOT safe to replace a StringBuffer object with a StringBuilder object?()
第5题:
对于优化应用程序性能,做法不恰当的是()
第6题:
String与StringBuffer的区别,以及"+"与append的区别?
第7题:
System.String和System.StringBuilder有什么区别?
第8题:
已知String str=new String ("Luck");,则下列关于str的操作中不合法的是( )。
A.String s=str. toUpperCase()
B.int i=Str. length;
C.char s=str. charAt(2);
D.String s="Good" +str;
第9题:
下面关于指针用法形式正确的是()
第10题:
public class TestString3 { public static void main(String[] args) { // insert code here System.out.println(s); } } Which two code fragments, inserted independently at line 3, generate the output 4247?()