ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Explain the difference between StringBuilder and StringBuffer class.

StringBuilder is unsynchronized whereas StringBuffer is synchronized. So when the application needs to be run only in a single thread then it is better to use StringBuilder.

StringBuilder is more efficient than StringBuffer.

 

Related Posts Plugin for WordPress, Blogger...
Flag Counter