网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

StringBuffer reverse( );表示()

  • A、字符串反转
  • B、字符串清空
  • C、字符串的赋值
  • D、字符串删除

参考答案

更多 “StringBuffer reverse( );表示()A、字符串反转B、字符串清空C、字符串的赋值D、字符串删除” 相关考题
考题 字符串分为两大类,一类是字符串常量,使用【 】类的对象表示;另一类是字符串变量,使用StringBuffer类的对象表示。

考题 Which two scenarios are NOT safe to replace a StringBuffer object with a StringBuilder object?() 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.

考题 String 和StringBuffer的区别

考题 5 string 和 stringbuffer的区别?

考题 已知sb 为StringBuffer 的一个实例,且sb.toString() 的值为"abcde ",则执行sb. reverse()后,sb.toString()的值为()。

考题 提供长度可变字符串对象的表示的类是( )。A.String类B.StringBuffer类C.Stringinput类D.StringOutput类

考题 在组播网络中RPF代表什么?()。 A.Reverse protocol forwardingB.Reverse protocol floodingC.Reverse path forwardingD.Reverse path flooding

考题 REVERSE(反推)灯亮(由于反推打开过程中部件故障),当故障排除后()。A、REVERSE(反推)灯灭B、REVERSE(反推)灯闪亮C、REVERSE(反推)灯在复位EAU(发动机附属组件)后灭D、REVERSE(反推)灯变绿

考题 设StringBuffer s=new StringBuffer("Sunday"),那么s.capacity( )的值为6

考题 StringBuffer deleteCharAt(int index)表示删除索引index-1处的字符

考题 关于 String、StringBuffer 和 StringBuilder 说法错误的是()A、String 创建的字符串是不可变的B、StringBuffer 创建的字符串是可变的,而所引用的地址一直不变C、StringBuffer 是线程安全的,因此性能比 StringBuilder 好D、StringBuilder 没有实现线程安全,因此性能比 StringBuffer 好

考题 StringBuffer reverse( )是将字符串倒序

考题 String与StringBuffer最大的区别在于()A、它们没有区别B、String对原字符串的拷贝进行操作,而StringBuffer对原字符串本事操作C、StringBuffer拥有更多相关函数D、String更节省空间

考题 关于String和StringBuffer,下面那些是正确的:()A、常量字符串使用String,非常量字符串使用StringBuffer。B、使用StringBuffer的时候设置初始容量。C、尽量使用StringTokenizer代替indexOf()和substring()。D、尽量不要使用StringBuffer,StringTokenizer类。

考题 已知sb为 StringBuffer 的一个实例,且 sb.toString() 的值为 "abcde ", 则执行sb. reverse(),sb.toString()的值为()

考题 String类和StringBuffer类的区别是什么?StringBuffer类提供了哪些独特的方法?

考题 在组播网络中RPF代表什么?()。A、Reverse protocol forwardingB、Reverse protocol floodingC、Reverse path forwardingD、Reverse path flooding

考题 关于String,StringBuilder以及StringBuffer,描述错误的是()。A、对String对象的任何改变都不影响到原对象,相关的任何change操作都会生成新的对象B、StringBuffer是线程安全C、StringBuilder是线程安全D、可以修改StringBuilder和StringBuffer的内容

考题 Which methods from the String and StringBuffer classes modify the object on which they are called?()  A、The charAt() method of the String class.B、The toUpperCase() method of the String class.C、The replace() method of the String class.D、The reverse() method of the StringBuffer class.E、The length() method of the StringBuffer class.

考题 多选题关于String和StringBuffer,下面那些是正确的:()A常量字符串使用String,非常量字符串使用StringBuffer。B使用StringBuffer的时候设置初始容量。C尽量使用StringTokenizer代替indexOf()和substring()。D尽量不要使用StringBuffer,StringTokenizer类。

考题 填空题已知sb为 StringBuffer 的一个实例,且 sb.toString() 的值为 "abcde ", 则执行sb. reverse(),sb.toString()的值为()

考题 判断题StringBuffer reverse( )是将字符串倒序A 对B 错

考题 判断题StringBuffer deleteCharAt(int index)表示删除索引index-1处的字符A 对B 错

考题 单选题Which methods from the String and StringBuffer classes modify the object on which they are called?()A The charAt() method of the String class.B The toUpperCase() method of the String class.C The replace() method of the String class.D The reverse() method of the StringBuffer class.E The length() method of the StringBuffer class.

考题 多选题Which two scenarios are NOT safe to replace a StringBuffer object with a StringBuilder object?()AWhen using versions of Java technology earlier than 5.0.BWhen sharing a StringBuffer among multiple threads.CWhen using the java.io class StringBufferInputStream.DWhen you plan to reuse the StringBuffer to build more than one string.

考题 问答题String类和StringBuffer类的区别是什么?StringBuffer类提供了哪些独特的方法?

考题 单选题StringBuffer reverse( );表示()A 字符串反转B 字符串清空C 字符串的赋值D 字符串删除