Difference between String, StringBuffer and StringBuild

Tutorials Shared by the Internet Community

Advertisements


Synopsis

This article explains difference between String, StringBuffer and StringBuilder.

Statistics

  • Total Hits - 27399

  • Total Votes - 98 votes

  • Vote Up - 42 votes

  • Vote Down - 56 votes

  • Domain - www.a2ztechguide.com

  • Category - JAVA/Core JAVA

  • Submitted By - Sandeep Kumar

  • Submitted on - 2011-12-25 13:36:31

Description

String is most commonly used class in Java programming. Java also provides two other classes StringBuffer and StringBuilder. We need to carefully choose between these three depending on the requirement. Thus it is important to understand difference among them. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements