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.
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.
相关考题:
Python中通过Key来从字典object中读取对应的Value的方法有() A.object[key]B.object.get(key)C.object.pop(key)D.object.pop()
以下程序的输出结果是_____。 include class object {private:int val; public:objec 以下程序的输出结果是_____。include<iostream.h>class object{ private:int val;public:object( ) ;object(int i) ;~object( ) ;};object: :object( ){ val=0;cout < < "Default constructor for object" < < endl;}object: :object(int i){ val=i;cout < < "Constructor for object" < < val < < endl;}object: :~object( ){ cout < < "Destructor for object" < < val < < endl;}class container{ private:object one;object two;int data;public:container( ) ;container(int i,int j,int k) ;~container( ) ;};container: :container( ){ data=0;cout < < "Default constructor for container" < < endl;}container: :container(int i,int j,int k) :two(i) ,one(j){ data=k;cout < < "Constructor for container" < < endl;}container: :~container( ){ cout < < "Destructor for container" < < endl;}void main( ){ container anObj(5,6,10) ;}
C + + is used with proper(75)design techniques.A.object-orientedB.object-basedC.face to objectD.face to target
C++ is used with proper(66) design techniques.A.class-orientedB.object-basedC.face to objectD.object-oriented
在H FML中要定义一个书签,应该使用的语句是( )。A.l href=”#object_01”text/aB.a name=”object_01”text/aC.a target=”#object_01”text/aD.a link=”#object_01”text/a
C++ is used with proper(73)design techniques.A.object-orientedB.object-basedC.face to objectD.face to target
C++ is used with proper ______ design techniques.A.object-orientedB.object-basedC.face to objectD.face to target
C++ is used with proper(71)design techniques.A.object-orientedB.object-basedC.face to objectD.face to target
C++ is used with proper(70)design techniques.A.object-orientedB.object-basedC.face to objectD.face to target