[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: Java

19 / 66

What is difference between StringBuffer and StringBuilder in Java ?


StringBuffer has same objects as StringBuilder, but each method in StringBuffer is synchronized,i.e., it's thread safe. That's why StringBuilder is faster than StringBuffer.

Asked In :: Sopra Steria

Post Your Answer Here:

Rate This: +1 -0      +

Post Your Reply Here:

Alert me

Report Error

Please Login First Click Here

Most Popular Qs.