StringBuilder is a class, which is very similar to the StringBuffer class. It is a new concept introduced in J2SE 5. Like the String and the StringBuffer classes, it extends directly from the Object class. The StringBuilder class can act as an alternative to StringBuffer in places where the environment is not multithreaded, i.e, where synchronization or multithreading is not significant. The signature of the StringBuilder class is as follows:
Since StringBuilder is not synchronized, it offers faster performance than StringBuffer.
- Pass CIW master-ciw-enterprise-developer - Master CIW Enterprise Developer
- Click here to download scbcd test study guide and practice question.
- Download free practice test for scdjws SCDJWS exam.
- Pass SUN scjp - SCJP
- Best exam simulation SUN scjp-5-0 download free trial.
- Get certified in first attempt download scmad - SCMAD simulation.
- Click here to download scwcd test study guide and practice question.
- Download free practice test for CX310-055 Java 5.0 exam.
- Get certified in first attempt download CX310-056 - SCJP 5.0 Java Upgrade simulation.
- Best exam simulation SUN CX310-065 download free trial.
- Click here to get free CX310-066 SCJP Upgrade exam practice questions.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
