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

Which two scenarios are NOT safe to replace a StringBuffer object with a StringBuilder 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 StringBufferlnputStream D. When you plan to reuse the StringBuffer to build more than one string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
