Question: Which two scenarios are NOT safe to replace a StringBuffer object with a String Builder object? (Choose two.) A. When using versions of Java technology

 Which two scenarios are NOT safe to replace a StringBuffer object

Which two scenarios are NOT safe to replace a StringBuffer object with a String Builder object? (Choose two.) 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 String BufferinputStream. D. When you plan to reuse the String Buffer to build more than one string

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!