The charAt() method of the String class.
The toUpperCase() method of the String class.
The replace() method of the String class.
The reverse() method of the StringBuffer class.
The length() method of the StringBuffer class.
第1题:
Which two are true?()
第2题:
Public class test ( Public static void stringReplace (String text) ( Text = text.replace (‘j’ , ‘i’); ) public static void bufferReplace (StringBuffer text) ( text = text.append (“C”) ) public static void main (String args[]} ( String textString = new String (“java”); StringBuffer text BufferString = new StringBuffer (“java”); stringReplace (textString); BufferReplace (textBuffer); System.out.printLn (textString + textBuffer); ) ) What is the output?()
第3题:
关于 String、StringBuffer 和 StringBuilder 说法错误的是()
第4题:
关于String和StringBuffer,下面那些是正确的:()
第5题:
String类和StringBuffer类的区别是什么?StringBuffer类提供了哪些独特的方法?
第6题:
关于String,StringBuilder以及StringBuffer,描述错误的是()。
第7题:
Which methods from the String and StringBuffer classes modify the object on which they are called?()
第8题:
第9题:
The charAt() method of the String class.
The toUpperCase() method of the String class.
The replace() method of the String class.
The reverse() method of the StringBuffer class.
The length() method of the StringBuffer class.
第10题:
When using versions of Java technology earlier than 5.0.
When sharing a StringBuffer among multiple threads.
When using the java.io class StringBufferInputStream.
When you plan to reuse the StringBuffer to build more than one string.
第11题:
第12题:
This code is NOT thread-safe.
The programmer can replace StringBuffer with StringBuilder with no other changes.
This code will perform well and converting the code to use StringBuilder will not enhance the performance.
This code will perform poorly. For better performance, the code should be rewritten: return “<“+ this.name + “>”;
第13题:
举例说明String和StringBuffer的区别和应用场合。
第14题:
String与StringBuffer的区别()。
第15题:
String与StringBuffer最大的区别在于()
第16题:
STRING与STRINGBUFFER的区别是什么?
第17题:
Which access methods can CS-MARS use toget configuration information from an Adaptive SecurityAppliance (ASA)? ()
第18题:
Given this method in a class: public String toString() { StringBuffer buffer = new StringBuffer(); buffer.append(‟<‟); buffer.append(this.name); buffer.append(‟>‟); return buffer.toString(); } Which is true?()
第19题:
常量字符串使用String,非常量字符串使用StringBuffer。
使用StringBuffer的时候设置初始容量。
尽量使用StringTokenizer代替indexOf()和substring()。
尽量不要使用StringBuffer,StringTokenizer类。
第20题:
static
abstract
final
private
第21题:
SDEE
Telnet
Console
FTP
HTTPS
SSH
第22题:
private
protected
final
don’t use any keyword at all (make it default)
第23题:
第24题: