StringBuilder and StringBuffer

Total Post:145

Points:1019

Java  String 
 1398  View(s)
Ratings:
Rate this:
What is the main difference between StringBuffer and StringBuilder? Is there any performance issues when deciding on any one of these?
  1. Re: StringBuilder and StringBuffer

    StringBuffer is synchronized, StringBuilder is not.


    http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html
    http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.