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.
查看答案
该试题由用户323****64提供
查看答案人数:35151
如遇到问题请
联系客服
正确答案
该试题由用户323****64提供
查看答案人数:35152
如遇到问题请联系客服