StringBuffer class is thread-safe i.e. multiple threads cannot access it simultaneously - Core Java
Q. Which class is thread-safe i.e. multiple threads cannot access it simultaneously,So it is safe and will result in an order?- Published on 17 Jul 15a. StringBuffer class
b. StringBuilder class
c. Both A & B
d. None of the above
ANSWER: StringBuffer class